> > 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


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to