Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

php5 not working Apache 2.2

Question posted by: cassbiz (Familiar Sight) on April 24th, 2008 03:34 PM
Just compiled PHP 5.2.5 for an acquaintance who was having a problem getting his PHP to work.

now this is driving me nuts.

Added following to httpd.conf

LoadModule php5_module modules/libphp5.so
AddType text/html php
AddHandler php5-scripts php

Error log is giving up the following when running phpinfo()

(8) Exec format error: /phpinfo.php failed
Premature end of script headers: phpinfo.php

Any help is greatly appreciated
r035198x's Avatar
r035198x
Administrator
10,754 Posts
June 4th, 2008
03:56 PM
#2

Re: php5 not working Apache 2.2
Post the code of your phpinfo file.
P.S Hope this is not too late.

Reply
Reply
Not the answer you were looking for? Post your question . . .
189,846 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
Top Apache Forum Contributors