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

  • Issue in executing contains Query(Oracle 11g Enterprise E on Linux RHEL 4

    Oracle Version: 11.1.0.6.0 We are facing problem in executing contains Query : 1.When length of string inside contains clause goes beyond 4000 it gives error ORA-01704: string literal too long 2.We try to modify query by breaking it into multiple con

  • Photo compression for iweb

    A question that i can't find the answer to... I subscribe to a training library called lynda.com which has fantastic training on iweb. The one area they don't cover is this. If i want to create a photo page from within iphoto and just put it on iweb,

  • I can't align cell dividers in a table!

    Hi everybody! I am working with Pages 4.02. I created a table, I added columns to it (split into columns) but it seems I can't find a way to align the vertical dividers of individual cells to other dividers in the next row above (or below). When I se

  • DVD+R not reading back on some DVD-ROM drives

    The recording device is the built-in SuperDrive on my iBook G4 1.42. I've been archiving copies of my photos to recordable DVD. It's usually 2 copies of each set - one in DVD+R and one in DVD-R. I store each set in a different place. My preferred med

  • Document template - text lines

    Hi, I have created a multine virtual attribute which is filled with text lines (from a PO). I want to show these lines in a document template. It works but the lines are shown like this: Line1Line2Line3 In the document template (word document) I want