php3-list | 2000051
Date: 05/03/00
- Next message: Wyn Griffiths: "[PHP3] is MySQL / PHP suitable for interactive games?"
- Previous message: Matt McClanahan: "Re: [PHP3] php4 install problem"
- In reply to: Jim St.Cyr: "[PHP3] Static PHP w/Apache on RH 6.2"
- Next in thread: Jim St.Cyr: "Re: [PHP3] Static PHP w/Apache on RH 6.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <39107092.9CFB5320 <email protected>>, jstcyr <email protected> ("Jim
St.Cyr") wrote:
> Hello-
>
> I am getting the problem talked about in section 4.8 of the FAQ "I have
> followed all the steps to install the Apache module version on UNIX, and
> my PHP scripts show up in my browser or I am being asked to save the
> file. Help!"
>
> Rather than build everything I wimped out and installed
> apache-php3perl-1.3.12-3nosyb.i386.rpm on my RH 6.2 system. The Apache
> portion is running fine. When I load a page 'test.php3' which contains
> <?
> phpinfo();
> ?>
> the above is what I see in my browser rather than the information PHP
> should return.
>
> I have verified all the steps in the FAQ.
>
> When I run httpd -l I get:
> Compiled-in modules:
> http_core.c
> mod_so.c
> mod_perl.c
> mod_php3.c
> suexec: enabled; valid wrapper /usr/sbin/suexec
>
> The following lines are in /etc/httpd/conf/httpd.conf. I have verified
> that it is the only version on the machine.
>
> <IfModule mod_php3.c>
> AddType application/x-httpd-php3 .php3
> AddType application/x-httpd-php3-source .phps
> </IfModule>
>
> # The following is for PHP/FI (PHP2):
> <IfModule mod_php.c>
> AddType application/x-httpd-php .phtml
> </IfModule>
>
> AddType application/x-tar .tgz
> AddType application/x-httpd-php3 .php3
>
> Not being sure how IfModule works I have tried running with the last
> AddType line that you see both in and commented out with no change.
>
> I have started turning my attention to the php3.ini file. The RPM
> loaded it into /etc/httpd. Is this where it should be? I have tried
> moving it to /usr/local/lib and /usr/sbin with no luck.
That all sounds reasonable...
Did you stop/start the Apache server?
Does "ps auxwwww | grep httpd" show you file paths and dates that match up
with your most recent install, or some old httpd binary laying around your
machine?
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Wyn Griffiths: "[PHP3] is MySQL / PHP suitable for interactive games?"
- Previous message: Matt McClanahan: "Re: [PHP3] php4 install problem"
- In reply to: Jim St.Cyr: "[PHP3] Static PHP w/Apache on RH 6.2"
- Next in thread: Jim St.Cyr: "Re: [PHP3] Static PHP w/Apache on RH 6.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

