[NTLUG:Discuss] Help with RH 6.0 and PHP

James L. Skidmore james at myskidmore.com
Tue Mar 14 08:31:30 CST 2000


Make sure that the line in httpd.conf that says DirectoryIndex has
index.php3 listed on that line.


James L. Skidmore
IT Staff
Hex.Net Superhighway
http://www.hex.net

On Mon, 13 Mar 2000, 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
> 





More information about the Discuss mailing list