Daniel15

Well-Known Member
Oct 7, 2006
86
1
156
Palo Alto, CA (originally Melbourne, Australia)
cPanel Access Level
Website Owner
Twitter
Hi,
I've been trying to enable PHP SuExec on a server, but I'm having a few problems. I compiled Apache and PHP via the 'Apache Update' option in WHM. All seems to be going well (Apache starts), but when I try to access a PHP file, I get an 'Internal Server Error' message. The error log states something like:
Code:
[Fri Oct 27 23:41:47 2006] [error] (8)Exec format error: exec of /usr/local/apache/htdocs/phpinfo.php failed
[Fri Oct 27 23:41:47 2006] [error] [client 202.7.176.134] Premature end of script headers: /usr/local/apache/htdocs/phpinfo.php
Since I have no experience with cPanel-based servers, I'm not sure what to do to fix this. Does anyone know?