Apache config file:
> /etc/apache2/httpd.conf
To add php support to Apache, uncomment this line in httpd.conf:
#loadModule php5_module libexec/apache2/libphp5.so
Remove the "#" from the line, then save.
If you can not save because the file is read only, try to use sudo to open the file:
> sudo vi httpd.conf
Then restart Apache server on Mac:
> sudo /usr/sbin/apachectl restart
If you want to become root on terminal, When logged in as an user with Admin privilege, open the Terminal application and give the command:
> sudo tcsh
Thursday, December 4, 2008
Subscribe to:
Posts (Atom)