<!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=728261015-23042007>Jun,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=728261015-23042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=728261015-23042007>That
is becasue someone else added the php.con into your httpd.conf, necause that is
not part of the normal httpd.conf</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=728261015-23042007>I work
at a placed that they had done something simmilar and I was getting strange
behavior but I was only looking</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=728261015-23042007>at the
httpd.conf, until I realized that they were including another conf file into the
httpd.conf that was creating problems.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=728261015-23042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=728261015-23042007>Glad
to hear that your problems is solved.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=728261015-23042007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=728261015-23042007>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> Friday, April 20, 2007 10:37 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=idOWAReplyText91492 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Just to let you know that the problem is
in the httpd.conf file. There is a "Include conf.d/*.conf", which include
php.conf. In php.conf, libphp4.so is loaded. I guess it conflicts with
libphp5.so and I commented it out. Now php can be processed by apache.
Not sure why that php.conf was not updated. Plus, php.ini seems not matter
either. Anyway, thanks for your input.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </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 4:41 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=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></DIV></BLOCKQUOTE></BODY></HTML>