Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 90738 invoked from network); 21 Feb 2008 19:06:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2008 19:06:38 -0000 Received: (qmail 96754 invoked by uid 500); 21 Feb 2008 19:06:31 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 96716 invoked by uid 500); 21 Feb 2008 19:06:31 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 96703 invoked by uid 99); 21 Feb 2008 19:06:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 11:06:31 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 19:06:06 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 2B164714063; Thu, 21 Feb 2008 11:06:14 -0800 (PST) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 44465] New: - php problem - Exec format error Message-ID: X-Bugzilla-Reason: AssignedTo Date: Thu, 21 Feb 2008 11:06:14 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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. 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