What installation instructions did you follow. Did you install cgi or module version?

Bob Lockie wrote --- napísal::
I'm getting an 'Internal Server Error' when I run:
http://216.15.235.3/cgi-bin/testphp.php

I've added AddType directives, this is not my first install of PHP but it is my first install with the latest versions.

Is anybody using the php-install mailing list?
I got tons of SPAM when I posted there. :-(

The log says:
[Fri Jun 18 12:31:05 2004] [error] [client 216.168.107.70] Premature end
of script headers: testphp.php
[Fri Jun 18 12:31:05 2004] [error] [client 216.168.107.70] (8)Exec
format error: exec of '/usr/local/apache2/cgi-bin/testphp.php' failed

http://216.15.235.3/cgi-bin/test-cgi
that came with Apache works fine.

I am using Apache-2.0.49 and PHP-4.3.7.
The command line PHP works fine.

testphp.php is:

<?php phpinfo(); ?>


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



Reply via email to