php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41558 php5-cgi does not work with apache/apache2
Submitted: 2007-06-01 15:17 UTC Modified: 2007-06-09 01:00 UTC
From: sandro dot pedrocchi at mitlinks dot ch Assigned:
Status: No Feedback Package: CGI/CLI related
PHP Version: 5.2.3 OS: Debian Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
30 + 8 = ?
Subscribe to this entry?

 
 [2007-06-01 15:17 UTC] sandro dot pedrocchi at mitlinks dot ch
Description:
------------
I compiled php as cgi with the this configuration:

./configure --enable-cli --enable-cgi --enable-fastcgi --enable-force-cgi-redirect --enable-memory-limit --enable-track-vars --with-pcre-regex --without-mm --prefix=/usr/local/php5 --with-mysql=/usr/include/mysql/ --enable-soap --enable-ftp--enable-wddx --with-imap --with-imap-ssl --with-kerberos --enable-pcntl --with-zlib --with-mcrypt --with-xsl --enable-mbstring --enable-sysvshm --enable-sysvsem --enable-sysvmsg --enable-shmop --enable-sockets --with-openssl --with-ldap --with-ldap-sasl --with-gd --enable-memcache && make && make install && cp sapi/cli/php /usr/local/php5/bin/php-cli && cp /usr/local/php5/bin/php  /usr/lib/cgi-bin/php5-cgi

PHP 5.2.2 works fine. But with 5.2.3 i get a segmentation fault.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-01 15:30 UTC] sniper@php.net
Hint: You don't need to manually copy anything.
CGI is now copied to 'php-cgi' automatically along with CLI as 'php'.

And about the crash: Where's the GDB backtrace?

 [2007-06-09 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC