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

From: Date: Tue, 03 Sep 2002 18:33:52 +0000
Subject: Re: 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-8320@lists.php.net to get a copy of this message
> > 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 Then you are missing the AddType line for .php files in your httpd.conf file. -Rasmus

« previous php.install (#8320) next »