My apologies if this has already been answered – I’m having difficulty finding a solution however.
I’m attempting to make the OSX 10.7.4 Apache, PHP, MySQL leap… I followed this http://echodittolabs.org/blog/2011/09/os-x-107-lion-development-native-apache-php-homebrew-mysql-or-mariadb, which for the most part went flawless (I had a minor hickup with the .plist but that is fixed).
Apache works fine. PHP works fine (thru terminal). I cannot get any PHP file to work via the browser however. I’ve uncommented LoadModule php5_module libexec/apache2/libphp5.so as well as included the IfModule php5_module piece. I’ve checked the modules loaded by apache which includes PHP5. Apache error_log provides nothing
Thoughts? (Please don’t say use MAMP).
Try adding this line to your
IfModule php5_moduleblock:So it looks like this: