ID:               41597
 Comment by:       jhagan at binghamton dot edu
 Reported By:      h-nisimu at pd dot jp dot nec dot com
 Status:           Feedback
 Bug Type:         *Compile Issues
 Operating System: Solaris 9
 PHP Version:      5.2.3
 New Comment:

I just recently ran into this same problem on a Solaris 8 box. My 
configure looks like this:

./configure
      --prefix=/local/apps/php/php-5.2.3
      --with-config-file-path=/local/apps/php
      --with-ldap=/local/apps/ldap/openldap-2.3.11
      --with-mysql=/usr/local/mysql
      --with-mcal=/local/apps/mcal
      --with-gd
      --with-jpeg-dir=/usr/local
      --with-libxml-dir=/local/apps/libxml
      --with-png-dir=/usr/local
      --with-zlib
      --with-zlib-dir=/usr/local
      --with-pear
      --enable-discard-path 

"make test" runs okay until it trys to run sapi/cgi/tests/
001.phpt.  Then it starts spawning off dozens of processes until 
the system slows to a crawl and I have to kill 'make test'.  

When I use the --with-apxs2 option with configure, the cgi binary 
doesn't get built and 'make test' doesn't have this problem - I'm 
assuming because it's not running the cgi tests.  So, the problem 
seems to be related to the cgi build.


Previous Comments:
------------------------------------------------------------------------

[2007-06-05 12:41:17] [EMAIL PROTECTED]

This is a patch, not a reproduce code.
And I still don't understabd what are you trying to fix with this
patch.

------------------------------------------------------------------------

[2007-06-05 12:34:33] h-nisimu at pd dot jp dot nec dot com

I am sorry,I mistake.

Reproduce code is following.

php-5.2.3/sapi/cgi/tests/include.inc

15c15
<               } else if (strpos($version, "(cgi")) {
---
>               } else if (strpos($version, "(cgi)")) {

------------------------------------------------------------------------

[2007-06-05 12:04:35] [EMAIL PROTECTED]

Your patch can't be right, 'cause it breaks FastCGI SAPI.
What are you trying to fix and why?

------------------------------------------------------------------------

[2007-06-05 11:52:03] h-nisimu at pd dot jp dot nec dot com

php5.2-latest include same mistake.

------------------------------------------------------------------------

[2007-06-05 11:32:18] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi



------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/41597

-- 
Edit this bug report at http://bugs.php.net/?id=41597&edit=1

Reply via email to