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.


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

Reply via email to