|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: sandro dot pedrocchi at mitlinks dot ch
New email:
PHP Version: OS:


 [2007-06-01 15:17 UTC] sandro dot pedrocchi at mitlinks dot ch
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-01 15:30 UTC]
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: Mon Jul 15 20:01:29 2024 UTC