Dear all, I am new to php, postgresql and apache. I intend to run them together on RH Linux 7.2 . The installation of RH Linux 7.2 is a complete one on the PC. So here are the list of the packages:
Apache 1.3.20-16 postgresql 7.1.3-2 php 4.0.6-7 php-pgsql 4.0.6-7. Now I have tested Apache, and postgreSQL and they seem to work fine. I add a few lines in /etc/httpd/conf/httpd.conf: loadModule php4_module modules/libphp4.so AddModule mod_php4.c AddType application/x-httpd-php .php4 .php3 .phtml .php AddType application/x-httpd-php-source .phps However, when I try to load a php file it displays nothing. Here is the file: # /usr/bin/php <HTML> <HEAD> <TITLE> Testing php</TITLE> </HEAD> <BODY> <?php phpinfo(); ?> </BODY> </HTML> I assume the php is installed as a CGI interpreter because I can only start httpd and could not find the command 'apachectl' on my pc. I also tried to load the file: <HTML> <HEAD> <TITLE> Testing php</TITLE> </HEAD> <BODY> <?php phpinfo(); ?> </BODY> </HTML> It displays nothing either. I suppose that I must miss something. Can anyonehelp? Thanks, Zhiqiang Dr. Zhiqiang Feng School of Geography & Geosciences Irving Building University of St Andrews St Andrews Fife KY16 9AL tel: 01334 463951 [EMAIL PROTECTED] -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php