help newbie PHP

From: Date: Wed, 22 Nov 2000 04:28:45 +0000
Subject: help newbie PHP
Groups: php.install 
Request: Send a blank email to php-install+get-873@lists.php.net to get a copy of this message
Linux LM7.2, apache 1.3, php4. conf/httpd.conf and conf/addon-modules/php.conf are configured When trying to access http://127.0.0.1./php/php.php In var/log/httpd/error_log : [Tue Nov 21 11:40:53 2000] [error] (8)Exec format error: exec of /var/www/php/php.php [Tue Nov 21 11:40:53 2000] [error] [client 127.0.0.1] Premature end of script headers: this is the simple script: <html> <head> <title>Example</title> </head> <body> <?php echo "Hi, I'm a PHP script!"; ?> <script language="php"> echo ("some editors (like FrontPage) don't like processing instructions"); </script> </body> </html> How to check that php is functional ans apache can process php files ? Thanks

« previous php.install (#873) next »