You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/02/21 20:06:14 UTC
DO NOT REPLY [Bug 44465] New: - php problem - Exec format error
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
DO NOT REPLY [Bug 44465] - php problem - Exec format error
Posted by bu...@apache.org.
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
bowcurve@hotmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
------- Additional Comments From bowcurve@hotmail.com 2008-02-21 12:52 -------
(In reply to comment #3)
> THIS IS NOT A SUPPORT FORUM!
> You posted plenty enough to tell what's wrong first time. Actually there are
> several things wrong, which is why you need to *RTFM*. There are also more
than
> one solutions.
Sadly RTFM is what I did BEFORE I came to your very helpful and polite forum.
While I am sure you think you know what the problem is, you are probably
wrong; because I have made all the changes the manual has indicated.
Have a great day, and if I can make a suggestion - try to relax; you sound
stressed.
--
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
DO NOT REPLY [Bug 44465] - php problem - Exec format error
Posted by bu...@apache.org.
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
bowcurve@hotmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
------- Additional Comments From bowcurve@hotmail.com 2008-02-21 11:57 -------
(In reply to comment #1)
> Please use a user support forum. Or in this case, google.
Thank you for the feedback, however - I install WebSVN from an updated FreeBSD
v6.2 port. The process installed both Apache2 and PHP (along with other
libraries). After the install, I configured the httpd.conf file and started
getting errors in my Apache log files (as detailed above).
This would seem to be a bug, perhaps with the install process on FreeBSD, or
perhaps in the libphph5.so, or perhaps with Apache2 interfacing with
libphp5.so.
I have searched google at great lenghts, but it has nothing to offer.
Thank you
--
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
DO NOT REPLY [Bug 44465] - php problem - Exec format error
Posted by bu...@apache.org.
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
nick@webthing.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |INVALID
------- Additional Comments From nick@webthing.com 2008-02-21 12:28 -------
THIS IS NOT A SUPPORT FORUM!
You posted plenty enough to tell what's wrong first time. Actually there are
several things wrong, which is why you need to *RTFM*. There are also more than
one solutions.
--
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
DO NOT REPLY [Bug 44465] - php problem - Exec format error
Posted by bu...@apache.org.
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
nick@webthing.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From nick@webthing.com 2008-02-21 11:17 -------
Please use a user support forum. Or in this case, google.
--
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
DO NOT REPLY [Bug 44465] - php problem - Exec format error
Posted by bu...@apache.org.
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
rpluem@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |INVALID
------- Additional Comments From rpluem@apache.org 2008-02-21 13:03 -------
Your configuration is wrong and you should use the users mailing list to solve
your problem (http://httpd.apache.org/userslist.html). As Nick already stated
bugzilla is for reporting *BUGS* and not a support forum. Your problem is not a
*BUG*. Please leave this report closed or feel free to be ignored.
--
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