Answer the question
In order to leave comments, you need to log in
How to check if PHP is enabled on Mac OS?
Please don't drink too much.
Which terminal command to check if PHP is enabled and running?
Apache is enabled, Pow and Anvil are installed in order to test sites on virtual domains. I uncommented the line #LoadModule php5_module libexec/apache2/libphp5.so
in httpd.conf, but the PHP code on the site is not being executed.
Answer the question
In order to leave comments, you need to log in
Thank you all for your help. It turned out that when running Anvil (GUI for Pow), PHP does not work in Pow. Refused Anvil, PHP works.
Stop littering the MAC with development libraries, install better viertualbox and roll for example homestead, and everything will be as it should be.
If MacOS has a console (I just never used it), then try writing "php -v".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question