Click to See Complete Forum and Search --> : php & apache configuration with RH 7.1


Anon
06-08-2001, 09:31 PM
I have installed Red Hat 7.1 and the versions on PHP and Apache that came with it. I am having problems configuring both php and apache. I am unable to run the ./configure that I have seen in many posts.

Also, in the httpd.conf file, I have the following:
<IfDefine HAVE_PHP4>
LoadModule php4_module modules/libphp4.so
</IfDefine>

I was wondering where/how the HAVE_PHP4 is set and if anyone know of a good web site that will explain how to configure php and apache versions that came with Red Hat 7.1.

Thank You

Anon
09-19-2001, 09:03 PM
Scott
You don't need to run ./configure to get apache and php to work. they are all ready to go. as root cd /etc/init.d and run ./httpd start. after that you may try loading your apache index page by firing up netscape to http://localhost/

You can ascertain that php is working by placing a text file with <? phpinfo ?>; in it in /etc/httpd/conf (this is the document root). Hope this helps.