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/local/php4/bin/php 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:
It displays nothing either. I suppose that I must miss something. Can anyone
help? Zhiqiang