Php not working Please Help

I have just enabled PHP on my mackbook 10.8.3 and started Apacha
1) sudo apachectl restart
2) Enabled the php module in httpd.conf
     LoadModule php5_module libexec/apache2/libphp5.so
3) sudo apachectl restart
4) it displays the HTML page and I have created the the phpinfo file but does not execute the php file

Give apache a nudge by adding the following to your httpd.conf-
# PHP conf
Include /private/etc/apache2/other/php5.conf
I'm assuming that Apple hasn't changed the hierarchy of the Apache2 directory in your version of OS X.

Similar Messages

Maybe you are looking for