PHP 2.3.1 & Apache 2.0.45 - All scripts cause internal server errors

From: Date: Thu, 10 Apr 2003 20:18:54 +0000
Subject: PHP 2.3.1 & Apache 2.0.45 - All scripts cause internal server errors
Groups: php.install 
Request: Send a blank email to php-install+get-10575@lists.php.net to get a copy of this message
Apache produces an internal server error when attempting to run any PHP script no matter how simple, for example: <?php phpinfo() ?> server error log turns up entries like this > Premature end of script headers: install.php Did turn up this, but its no help to me on its own http://httpd.apache.org/docs/misc/FAQ.html#premature-script-headers All scripts run perfectly when invoked via the commandline version of php, using either the root or apache accounts on the server. apachectl checkconfig returns syntax ok (1 error about not being able to find the computers FQDN, but that is all) The following lines are in my httpd.conf file LoadModule php4_module /usr/modules/libphp4.so AddType application/x-httpd-php .php Any ideas as to where the problem lies? -- "Not Hercules could have knock'd out his brains, for he had none." - Shakespeare Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html

« previous php.install (#10575) next »