I'm trying to install
php module via
macports. I have them installed, so I run
cd /opt/local/apache2/modules sudo /opt/local/apache2/bin/apxs -a -e -n "php5" mod_php54.so
Then I'll ensure myself, it's loaded, I see in
LoadModule php5_module modules/mod_php54.so
Then I can see
php54.so file exists in
Then I restart the apache with below command:
sudo /opt/local/apache2/bin/apachectl -k restart
But when I send query to load modules with
apachectl -M command, I can't see any
php5 entry. Also,
.php files aren't interpreted now, I can only see the sources.
What was my mistake?