macos - Installed PHP with brew but it is still not working
Get the solution ↓↓↓I am trying to run a php webapp on eclipse, the mac already comes with PHP but I could not figure out how to get it to work so I decided to install it again using brew. I followed the steps in this tutorial https://aregsar.com/blog/2019/installing-php-on-macos/ and this one as well https://gist.github.com/karlhillx/791babda83495eab6fbf64f8a3270f86. I edited the httpd.conf file countless times and terminal shows the correct PHP version (8.0.2). I also added the java-bridge to the tomcat. When running a simple "Hello World" php file all I get is the code printed in the browser instead of the actual output. I can't figure out what I am missing.
This link contains the .conf files: https://www.dropbox.com/sh/lq8hk120vdqc2f2/AAB88VbjF3Eqr55d55cCsnE2a?dl=0
Any help would be appreciated.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: failed to create image decoder with message 'unimplemented'
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.