Re: Apache doesn't seem to send scripts to the interpreter

From: Date: Tue, 03 Sep 2002 18:31:42 +0000
Subject: Re: Apache doesn't seem to send scripts to the interpreter
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-8319@lists.php.net to get a copy of this message
John wrote: > A) Make php classic test file called hello.php. Here is the text that goes > in it: > <html> <head> <title>PHP Test</title> </head> <body> > <?php echo "Hello > World<p>"; ?><?php phpinfo(); ?> </body> </html> > B) Find php by doing "which php <enter>". Mine says /usr/bin/php. Now run > "/usr/bin/php -i >output.html <enter>". If need be, move the output.html to > your default web directory and try and read that from a browser. I did both, In A) the browser shows the entire script In B) The result is long and confusing, I do not know how to work that file.

« previous php.install (#8319) next »