[NTLUG:Discuss] Help with RH 6.0 and PHP

Hector M Banda hector at imperial.cc.ca.us
Mon Mar 13 23:51:39 CST 2000


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
============================================





More information about the Discuss mailing list