Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001072

[PHP-DB] OSX+Apache+PHP4 setup From: Brian Tegtmeier (btegtmeier <email protected>)
Date: 07/16/01

What’s 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? I’m 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

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>