OSX+Apache+PHP4 setup
| From: | Brian Tegtmeier | Date: | Mon, 16 Jul 2001 20:19:20 +0000 |
| Subject: | OSX+Apache+PHP4 setup | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-10467@lists.php.net to get a copy of this message | ||
Whats up guys? I got a quick question about how the Mac OSX Server handles the Apache modules. I
am not sure, but I am hoping that the way it handles Apache is the same as the PC port. I was
reading some documentation in a info.php file from the OSX Server Library directory and it said I
had to do this to enable PHP on the web server:
<?php
// To enable PHP, just uncomment the following lines in httpd.conf:
// #LoadModule php4_module
// #AddModule mod_php4.c
// To test PHP, just invoke this page from a browser:
// http://mydomain.com/info.php
phpinfo();
?>
The thing that has me boggled is I did a search for the httpd.conf file and ended up finding one in
the /System/Library/Perl/Darwin/Apache/ directory called httpd_conf.pm.
Is this the same file that I need to do this to? Im wondering because its located in the /Perl/
directory and I am not sure if I should add these comments to it or create a brand new http.conf
file.
Thanks for the help!
--
_______________________________________________
FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
FREE PC-to-Phone calls with Net2Phone
http://www.net2phone.com/cgi-bin/link.cgi?121