httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44465] New: - php problem - Exec format error
Date Thu, 21 Feb 2008 19:06:14 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44465>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44465

           Summary: php problem - Exec format error
           Product: Apache httpd-2
           Version: 2.0.59
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_cgi
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: bowcurve@hotmail.com


Hello - I have installed WebSVN using an updated ports tree on FreeBSD v6.2.  
It installed and configured: Apache/2.0.59 (FreeBSD) DAV/2 SVN/1.4.3 PHP/5.2.0 
with Suhosin-Patch Server.

My httpd.conf files contains the relevant settings:
LoadModule php5_module        libexec/apache2/libphp5.so
DirectoryIndex index.html index.php index.html.var
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddHandler cgi-script .php

Please note, Apache starts without error...

I can run 'php index.php' from the command line, save the data to out.html and 
view out.html from my browser.

However, when I try to run the index.php file directly, I get the following:
(8)Exec format error: exec of '/usr/local/www/data/websvn/index.php' failed
Premature end of script headers: index.php

The directory and file permissins seem okay.  I have also tried just a simple 
php script, and it also generated the same error, no matter what directory the 
file was located.
<?php
phpinfo();
?>

Any help would be greatly appreciated - thank you in advance.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message