Hi, After many hours of searching FAQ's in vain, can some kind soul help me get PHP to work ?
I installed RedHat 7.2 + KDE about a week ago (my first Linux intallation) without any significant problems and everything seemed to be working fiine until I tried PHP (with famous test "Hello World"). PHP refuses to send me that greeting. It looks like the PHP module needs to be activated. I found the following lines in the httpd.conf that was installed in my system: <IfDefine> HAVE_PHP4> LoadModule php4-module </IfDefine> ..... <IfDefine> HAVE_PHP4> AddModule php4-module.c </IfDefine> And the following lines in the Apache startup script : if [ -f /etc/sysconfig/apache ] ; then . /etc/sysconfig/apache fi .... start() { echo -n $"Starting $prog: " daemon $httpd `moduleargs` $OPTIONS RETVAL=$? echo [ $RETVAL = 0 ] && touch /var/lock/subsys/httpd return $RETVAL } Note: I also have a file /etc/php.ini The "Apache Aministrator's Handbook" I'm using says that to activate modules, Apache should be started" with /usr/sbin/httpd -D<name>." Is it correct to assume that some "options" should be passed to the function start() from the file ./etc/sysconfig/apache ? Were can I get this famous file ./etc/sysconfig/apache or instructions to make it. I cannot find this file in my system. This may be a bit academic because I guess I could try to make it work by just commenting the "If" and "/If" lines around "LoadModule" and "AddModule", but I would like to follow the thinking of whoever made these start and conf files. . Thanks, Joe Fazenda -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php