Click to See Complete Forum and Search --> : install on mac os


owaring
06-22-2005, 07:37 AM
I have recently switched to mac, and have finally got round to doing some more php development.

I have installed php according to these instructions (http://developer.apple.com/internet/opensource/php.html)

Apache is running fine and i have installed php in ROOT/apps.

My questions are;

A) Have i installed in the correct place or does it need to be in a specific dir relative to apache.

B) If installed correctly then where is my dicument root? The unix terminal lists usr/local but i cannnot find these dirs on my hdd.

Many thanks in advance

Ollie.

planetsim
06-22-2005, 10:32 AM
As long as PHP and Apache can work together it doesnt really matter where they are installed.

Secondly open the httpd.conf file up and search for DocumentRoot.

owaring
06-22-2005, 04:24 PM
Thanks for that, But..........

I can not find this file, the apache doc root is cool but i figure i need to point php toward it.

please excuse my ignorance, i previously used amp installers, but as i already have apache installed i wanted to try and avoid this

cheers