Re: Not seeing PHP output

From: Date: Mon, 08 Jan 2001 08:21:35 +0000
Subject: Re: Not seeing PHP output
Groups: php.install 
Request: Send a blank email to php-install+get-1497@lists.php.net to get a copy of this message
Hello Josh, Thank you for your reply. I modified my /etc/httpd/httpd.conf file to have only one AddType line for .php3 and .php file extensions. After reloading apache, I saw the same results when viewing my test.php3 file through Netscape. The source sent from from apache to netscape looked as follows, while the display showed only "Here's some text". Here's some text <?php $alpha="Hello from PHP"; echo $alpha; phpinfo(); ?> Regards, Eric Stahl In a message dated 1/7/01 9:41:27 PM Pacific Standard Time, josh@lokot.com writes: << If you view the html code that the server sends back (view source in your browser) does it still contain the <? php code?>??? Also: AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3 .phtml There should only be one AddType declaration, like this: AddType application/x-httpd-php3 .php3 .phtml Hope that helps, Josh Lokot ----- Original Message ----- From: <ECStahl@aol.com> To: <php-install@lists.php.net> Sent: Monday, January 08, 2001 4:30 PM Subject: [PHP-INST] Not seeing PHP output >> <SNIP>

« previous php.install (#1497) next »