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: [email protected] ReportedBy: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
