[NTLUG:Discuss] Help with RH 6.0 and PHP

hector M Banda hector at need-info.com
Fri May 19 13:03:10 CDT 2000


On Tue, 14 Mar 2000, you wrote:
> Hector M Banda wrote:
> 
> > Hi all,
> >  I'm trying to get PHP to work in my RH 6.0 server and I can not figure it
> > out.
> >
> >  I'm using php that comes with the original CDROM of RH.
> >
> >  To test the installation of PHP, I'm trying to access the following file
> > from the /home/httpd/html/ directory.
> >
> >         file name = first.php3 ( I already tried changing the ext to 'php')
> >         file==>  <?php3
> >                         phpinfo();
> >                    ?>
> >
> > Everytime I try to access it with NETSCAPE it asks me to Save file, open
> > application, etc.
> >
> >         This is also what I have done on the /etc/httpd/conf/httpd.conf file:
> >
> >         AddType application/x-httpd-php3 .php3   ( This is at the end of the file)
> >
> >         LoadModule php_module   modules/mod_php.so (These are under extra modules)
> >         LoadModule php3_module  modules/libphp3.so
> >
> > Any ideas???
> >
> > Thanks again,
> > ============================================
> > Hector M Banda
> > Senior Computer Programmer
> > Information Systems Department
> > Imperial Valley College
> > Imperial Ca, 92251
> > Phone: 760.355.6105
> > Fax  : 760.355.6173
> > ============================================
> >
> > _______________________________________________
> > http://ntlug.org/mailman/listinfo/discuss
> 
> Hector,
> 
> What does first.php3 return?  If your browser is
> trying to save a file, it's generally a sign that the
> browser doesn't recognize whats being returned
> to it by the http server.  Does the bitstream
> coming back have a valid "content type" header?
if you dont mind, try:

http://www.need-info.com/first.php3

thanks.

> 
> Val
> --
> Val W. Harris              vwharris at airmail.net
> 
> I'd rather be a failure at something I enjoy
> than be a success at something I hate.
> - George Burns
> 
> 
> 
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss
--


=========================================== 
Hector M Banda
Senior Computer Programmer
Information Systems Department
Imperial Valley College
Imperial Ca, 92251
Phone: 760.355.6105
Fax  : 425.790.6379 
============================================





More information about the Discuss mailing list