Re: Not seeing PHP output

From: Date: Tue, 09 Jan 2001 00:58:33 +0000
Subject: Re: Not seeing PHP output
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-1509@lists.php.net to get a copy of this message
Apache isn't running the page through php first, it's just sending it staight to the browser. The fact that all you see is the text outside of the <? ?> tags is perfectly understandable, since your browser is supposed to just ignore anything it doesn't understand. All I can suggest is to double check that you have your libphp3.so module loaded in your httpd.conf. Anyone? Josh. ----- Original Message ----- From: <ECStahl@aol.com> To: <josh@lokot.com>; <php-install@lists.php.net> Sent: Monday, January 08, 2001 7:21 PM Subject: Re: [PHP-INST] Not seeing PHP output > 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 (#1509) next »