Discussion:
[PHP-INSTALL] premature end of script headers: php
cheesiong
2008-08-13 15:30:06 UTC
Permalink
hi all,
i am sorry for disturbing. i happen to surf on this page on a problem
as subject. so i send to 3 emails on that page and hoping for a
path-forwards.
http://marc.info/?l=php-install&m=112727980216221&w=2

i would like to ask Sascha if the problem solved or switch?
i am having the same issue while porting apache-2.2.9 + php-5.2.6 on
an arm-based linux.

i separately xcompile and install the apache and php on /opt/apache2
and /opt/php5 respectively.
in httpd.conf, i config as
ScriptAlias /php5/ "/opt/php5/bin/"
Application/x-httpd-php .php
Action Application/x-httpd-php "/php5/php"

then in /opt/apache2/htdocs
echo "<?php phpinfo(); ?>" > test.php

i get 500 internal server error.

but it is okie to run the test.php file as in
/opt/php5/bin/php test.php

i do not know what is the mechanism behind this.
may i ask for help here?

thank you.

Loading...