PHP is already installed on OSX. All you have to do is enable it in the /etc/apache2/httpd.conf file removing the # character from the front of the line which reads:

LoadModule php5_module libexec/apache2/libphp5.so

And then stop and start web sharing. After that any file ending in .php should be processed by the php engine. You might have to change other things if you've modified other default settings of Apache such as where the html files are served from.

CB

On 12/14/11 9:46 PM, Venkatesh Potluri wrote:
Hi all.
I am trying to setup PHP on my macbook running macOSX 10.7.2. I read that some 
changes have to be made to the httpd.conf file. I read the instructions given 
in the php website but could not succeed.
first, I was unable to located the 2nd line of code in step 2. and I couldn't 
quite understand anything after that. It would be of great help if anybody can 
help me configure php and apache.
the link I followed is:
http://www.php.net/manual/en/install.macosx.bundled.php
Thank you.
Cheers
Venkatesh Potluri


--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/macvisionaries?hl=en.

Reply via email to