Apache 2.0.35 + php 4.2.0 -- yields but one error in browser.
| From: | Andrew Lietzow | Date: | Mon, 13 May 2002 16:25:13 +0000 |
| Subject: | Apache 2.0.35 + php 4.2.0 -- yields but one error in browser. | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6960@lists.php.net to get a copy of this message | ||
Dear php wizards,
Using SuSE Linux 7.3 (Linux 2.4-10-4GB) with Apache 2.0.35 and doing a php4.2.0 configure.
The following was how I executed ./configure from the /usr/local/src/php4/php-4.2.0 directory.
./configure --prefix=/usr/local/php-4.2.0\
--with-mysql=/usr/local/mysql \
--with-apxs2=/usr/local/apache2/bin/apxs
Then I ran >make< from the same directory. No problems.
Next, I ran >make install< .. and voila. No errors!
So I added
AddType application/x-httpd=php .php
to my httpd.conf file,and ran
./apachectl configtest
and ... no problems!
I restarted Apache2 and entered
http://ss.hostahaven.com/cgi-bin/info.php into my browser.
Unfortunately, I still get the following error, when I attempt to run this script, which is the info.php script.
<html>
<?phpinfo()?>
</html>
---------------
Server error!
Error message:Premature end of script headers: /var/www/cgi-bin/info.php If you think this is a server error, please contact the webmaster Error 500 --------------- Any ideas on how to resolve this error? Andrew Lietzow The ACL Group, Inc.