<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1586" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=953383121-19042007>Chen,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=953383121-19042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=953383121-19042007>Read
the install.txt file that comes with PHP.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=953383121-19042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=953383121-19042007>Compare the httpd.com and the backup or new
created by the new install.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=953383121-19042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=953383121-19042007>I am
using apache and php on RHEL3, RHEL 4 (cgi) and I am using
php module on windows</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=953383121-19042007>my
windows set up and my W2K set up is like yours and the only difference is
that I have </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=953383121-19042007>my
'AddType' on separate lines.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=953383121-19042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=953383121-19042007>If
after reading the INSTALL file you still are not working, search for a php users
group in your area and</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=953383121-19042007>they
will be able to help you. I live in San Diego but I am a member of the PHP
group in New York and they</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=953383121-19042007>are
very helpfull.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=953383121-19042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=953383121-19042007>Let me
know if you still have problems.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=953383121-19042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=953383121-19042007>Néstor
:-) </SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> rhn-users-bounces@redhat.com
[mailto:rhn-users-bounces@redhat.com]<B>On Behalf Of </B>Chen,
Jason<BR><B>Sent:</B> Thursday, April 19, 2007 1:54 PM<BR><B>To:</B>
Discussions about Red Hat Network (rhn.redhat.com)<BR><B>Subject:</B> RE:
[rhn-users] cannot display webpage after installing php5<BR><BR></FONT></DIV>
<DIV id=idOWAReplyText89891 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Thanks for your reply. I
have the following in my httpd.conf.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial
size=2>------------------------------------------------------------------------</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>LoadModule
php5_module
/usr/lib64/httpd/modules/libphp5.so</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>AddType application/x-httpd-php .php
.phtml</FONT></DIV>
<DIV dir=ltr><FONT face=Arial
size=2>------------------------------------------------------------------------</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Does that look ok? There is
"AddModule" stuff in some old php installation guide. I don't have it here. Am
I missing any file or steps after installing PHP5? </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV></DIV>
<DIV dir=ltr>Jun<BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> rhn-users-bounces@redhat.com on behalf
of Florez, Nestor<BR><B>Sent:</B> Thu 4/19/2007 12:13 PM<BR><B>To:</B>
Discussions about Red Hat Network (rhn.redhat.com)<BR><B>Subject:</B> RE:
[rhn-users] cannot display webpage after installing php5<BR></FONT><BR></DIV>
<DIV dir=ltr>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=190161017-19042007>If
the browser ask to save or display, generally it means that it doe not know
what to do with the php files.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=190161017-19042007>if
you choose to open or display you will see the entire php file just as if you
have created then as filename.phps</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=190161017-19042007>as
long as phps is define inside apache.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=190161017-19042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=190161017-19042007>Just
take a look at you heetp.conf and make sure that the php modules are
defined.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=190161017-19042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=190161017-19042007>Nestor :-)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=190161017-19042007>:-)</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
rhn-users-bounces@redhat.com [mailto:rhn-users-bounces@redhat.com]<B>On
Behalf Of </B>Chen, Jason<BR><B>Sent:</B> Thursday, April 19, 2007 9:55
AM<BR><B>To:</B> Discussions about Red Hat Network
(rhn.redhat.com)<BR><B>Subject:</B> RE: [rhn-users] cannot display webpage
after installing php5<BR><BR></FONT></DIV>
<DIV id=idOWAReplyText14927 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Apache is untouched
except the restart. PHP5 should have changed httpd.conf. Not sure
what other files may get affected. Any idea? Thanks.</FONT></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Jun</FONT> </DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> rhn-users-bounces@redhat.com on behalf
of Florez, Nestor<BR><B>Sent:</B> Thu 4/19/2007 11:54 AM<BR><B>To:</B>
Discussions about Red Hat Network (rhn.redhat.com)<BR><B>Subject:</B> RE:
[rhn-users] cannot display webpage after installing
php5<BR></FONT><BR></DIV>
<DIV dir=ltr>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=708165316-19042007>Did you make the changes to
apache?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=708165316-19042007>:-)</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
rhn-users-bounces@redhat.com [mailto:rhn-users-bounces@redhat.com]<B>On
Behalf Of </B>Chen, Jason<BR><B>Sent:</B> Thursday, April 19, 2007 9:52
AM<BR><B>To:</B> rhn-users@redhat.com<BR><B>Subject:</B> [rhn-users]
cannot display webpage after installing php5<BR><BR></FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Recently I upgraded PHP from 4 to 5. However,
after installing new PHP, the webpages related to php cannot display
(blank page). Other html pages are just ok. And I run php at the command
line, it can parse a simple test.php, which does phpinfo(). </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I tried IE6 & IE7, both of them cannot
display the webpages, including test.php. When Mozilla Firefox is used, it
pops up a window asking me to open or save that .php file. It looks to me
that there is a missing link between the browser and php. Can anyone help?
My OS is RHL AS 4 and I have PHP5, MySQL 5 and apache (not sure about the
version). Is this related to some initial files, like php.ini?
</FONT><FONT face=Arial size=2>Thanks.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>Jun</FONT></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></BODY></HTML>