PHP setup
PHP setup
- Subject: PHP setup
- From: "Dean Ouellette.ws" <email@hidden>
- Date: Wed, 5 Feb 2003 23:20:20 -0500
Newbie here trying to get php running
Running OS 10.2
During the restart I am getting an error every time, anyone know what
is going on?
This worked
[dean-computer:~] dean% cd /etc/httpd
[dean-computer:/etc/httpd] dean% sudo apxs -e -a -n php4
libexe/httpd/libphp4.so
Password:
[activating module `php4' in /private/etc/httpd/httpd.conf]
cp /private/etc/httpd/httpd.conf /private/etc/httpd/httpd.conf.bak
cp /private/etc/httpd/httpd.conf.new /private/etc/httpd/httpd.conf
rm /private/etc/httpd/httpd.conf.new
[dean-computer:/etc/httpd] dean% sudo perl -p -i.bak -e 's%#(AddType
\S+-php[ -])%$1%i' httpd.conf
Then this part fails every time
% sudo apachectl graceful
/usr/sbin/apachectl graceful: configuration broken, ignoring restart
/usr/sbin/apachectl graceful: (run 'apachectl configtest' for details)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.