Problem w/ RH Linux 7, PHP 4, Apache, MySQL

From: Date: Thu, 11 Jan 2001 01:26:19 +0000
Subject: Problem w/ RH Linux 7, PHP 4, Apache, MySQL
Groups: php.install 
Request: Send a blank email to php-install+get-1541@lists.php.net to get a copy of this message
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!

« previous php.install (#1541) next »