RE: [PHP-INST] Problem w/ RH Linux 7, PHP 4, Apache, MySQL

From: Date: Sun, 14 Jan 2001 10:24:35 +0000
Subject: RE: [PHP-INST] Problem w/ RH Linux 7, PHP 4, Apache, MySQL
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-1605@lists.php.net to get a copy of this message
Terry, Very Ugly of you! I apologize. Re-checking the file, I had used the lines AddType application/x-httpd-php .php .php3 . .phtml AddType application/x-httpd-php-source .phps The problem persists. I still get the dialog box asking "Save As..." Thanks, Jud -----Original Message----- From: The Big Ugly [mailto:terry@uglysoftware.com] Sent: Sunday, January 14, 2001 4:18 AM To: Taylor, George Cc: php-install@lists.php.net Subject: Re: [PHP-INST] Problem w/ RH Linux 7, PHP 4, Apache, MySQL George, I think the problem is in the AddType line. Instead of using a type of x-httpd-php4, try x-httpd-php. HTH, Terry McKiernan Ugly Software On Thu, 11 Jan 2001, George P. Taylor IX wrote: > Greetings. > > I've bought the book _PHP Fast & Easy Web Development_ and have followed the > instructions precisely. > > I'm running RH Linux 7. > > I've successfully installed MySQL, and tested it. > > I've successfully installed Apache and tested it. > > I've installed PHP4, and made the configuration changes to httpd.conf > suggested. > > Specifically, I modified httpd.conf by adding the lines > > AddType application/x-httpd-php4 .php .php3 . php4 .phtml > AddType application/x-httpd-php4-source .phps > > Then I stopped and restarted Apache, then tested it by creating the file > "phpinfo.php" consisting of the single line below. > > <? phpinfo(); ?> > > when I point the netscape browser at > http://localhost/phpinfo.php, that > single line of text shows up. It seems that either Apache is failing to > pass the file to PHP for parsing, or PHP is receiving the file but not > parsing it. > > Question 1: In order to isolate the problem to either PHP or Apache, is > there a way to test to ensure that PHP4 is running without using Apache? > > Question 2: Are there other changes that need to be made to httpd.conf that > I am unaware of? > > Thanks! > > > > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net For additional commands, e-mail: php-install-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.install (#1605) next »