My apache was compiled with phpsuexec enabled.
Now, I have problem with my php script.
I always got Internal server Error on php script.
In error_log shows that
[Wed Jul 30 22:51:58 2003] [error] (8)Exec format error: exec of /usr/local/apache/htdocs/t1.php failed
[Wed Jul 30 22:51:58 2003] [error] [client 203.121.131.38] Premature end of script headers: /usr/local/apache/htdocs/t1.php
in my t1.php looks like this:
but if I added !#/usr/bin/php on the top of file, It's work.
Anyone has any idea?
I do not have problem on any virtual host - (such as - /home/username/public_html/t1.php - it will run properly without any modification)
cPanel.net Support Ticket Number:
cPanel.net Support Ticket Number:
Now, I have problem with my php script.
I always got Internal server Error on php script.
In error_log shows that
[Wed Jul 30 22:51:58 2003] [error] (8)Exec format error: exec of /usr/local/apache/htdocs/t1.php failed
[Wed Jul 30 22:51:58 2003] [error] [client 203.121.131.38] Premature end of script headers: /usr/local/apache/htdocs/t1.php
in my t1.php looks like this:
PHP:
<? phpinfo(); ?>
Anyone has any idea?
I do not have problem on any virtual host - (such as - /home/username/public_html/t1.php - it will run properly without any modification)
cPanel.net Support Ticket Number:
cPanel.net Support Ticket Number: