Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help Installing PHP4.1.2 on RH-Linux 7.1

Status
Not open for further replies.

capitano

Programmer
Jul 30, 2001
88
US
I'm having trouble installing php4.1.2 on Linux 7.1 (RedHat). I'm following the instructions to the "T" but when I try running a test.php page, it just spits the output to the screen:

<?phpinfo();?>

It doesn't actually process the php code. What's up?

I'm doing this:
./configure --with-mysql
make
make install
cp php.ini-dist /usr/local/lib/php.ini

finally, I made sure this line was in httpd.conf:

AddType application/x-httpd-php .php

And restarted web server:
'service httpd restart'

But still, nothing......
It still doesn't process pages.

HELP!!!!
 
I've had this before ,same thing was happening.
I rebooted my server and this corrected the problem for me, but others have said that commenting out the
<IfModule mod_mime_magic.c>
MIMEMagicFile local/apache/conf/magic
</IfModule>
lines in httpd.conf also cures this.

***************************************
Party on, dudes!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top