installation problem

From: Date: Mon, 13 Nov 2000 08:31:26 +0000
Subject: installation problem
Groups: php.general 
Request: Send a blank email to php-general+get-24928@lists.php.net to get a copy of this message
Hello, I have thoroughly looked through the FAQ and did not find anything to help me with my problem. I installed PHP4 from the downloaded source at php.net. I edited my http.conf file to include the LoadModule php4_module modules/libphp4.so and AddModule mod_php4.c When i try to run a test page, the browser brings back a simple Internal Server Error. and the error log says this: [Sun Nov 12 23:59:25 2000] [error] (8)Exec format error: exec of /usr/httpd/cgi-bin/date.php4 failed [Sun Nov 12 23:59:25 2000] [error] [client 128.97.39.185] Premature end of script headers: /usr/httpd/cgi-bin/date.php4 My httpd.conf file also contains the directives for php3 and php, and i tried running this page with these lines comments out or not, but neither thing helped. This must be a simple problem, but i cannot seem to find just the right answer. Is it true that i need to reinstall both apache and php4? Thanks in advance.

« previous php.general (#24928) next »