Req #54152 [Com]: Make FPM compatible with Apache HTTP Server 2.3 mod_proxy_fcgi

2013-03-01 Thread phpfpm1 at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=54152edit=1

 ID: 54152
 Comment by: phpfpm1 at gmail dot com
 Reported by:mark at catseye dot org
 Summary:Make FPM compatible with Apache HTTP Server 2.3
 mod_proxy_fcgi
 Status: Closed
 Type:   Feature/Change Request
 Package:FPM related
 Operating System:   Linux
 PHP Version:5.3SVN-2011-03-03 (snap)
 Assigned To:jimjag
 Block user comment: N
 Private report: N

 New Comment:

Any news on the subject?


Previous Comments:

[2011-09-15 19:09:40] f...@php.net

reopen :)


[2011-09-15 19:08:11] apache-lists at riggs dot me

This fix does not take into account using mod_proxy_balancer. When I use this 
same setup using mod_proxy_fcgi as a BalancerMember, I get a SCRIPT_FILENAME of 
proxy:balancer:// Should this be reopened to handle that, or should we 
create 
a new bug?


[2011-03-29 13:39:13] mark at catseye dot org

v3 of the patch was applied to trunk in r309054

http://svn.php.net/viewvc?view=revisionrevision=309054


[2011-03-09 19:53:24] jim...@php.net

Automatic comment from SVN on behalf of jimjag
Revision: http://svn.php.net/viewvc/?view=revisionamp;revision=309054
Log: Close [PHP-BUG] Req #54152...
Apache 2.3.12 (and later) will now work correctly with PHP's fcgi
impl with this patch.


[2011-03-09 19:27:31] jim...@php.net

Automatic comment from SVN on behalf of jimjag
Revision: http://svn.php.net/viewvc/?view=revisionamp;revision=309053
Log: Close [PHP-BUG] Req #54152...
Apache 2.3.12 (and later) will now work correctly with PHP's fcgi
impl with this patch.




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

https://bugs.php.net/bug.php?id=54152


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=54152edit=1


[PHP-BUG] Bug #64269 [NEW]: Reading conf files takes 30minutes

2013-02-21 Thread phpfpm1 at gmail dot com
From: phpfpm1 at gmail dot com
Operating system: CentOS 5.8
PHP version:  5.3.21
Package:  FPM related
Bug Type: Bug
Bug description:Reading conf files takes 30minutes

Description:

Hello,

we have a lot of users on the system and reading php-fpm conf files is a
bit 
weird. Why is it reading every byte? Checking every char looks like a
bug.

Test script:
---
strace /usr/local/php53/sbin/php-fpm53 --fpm-config
/usr/local/php53/etc/php-fpm.conf

Expected result:

Reading whole lines.

Actual result:
--
open(/usr/local/directadmin/data/users/test83/php/php-fpm53.conf,
O_RDONLY) = 
4
read(4, \n, 1)= 1
read(4, \n, 1)= 1
read(4, \n, 1)= 1
read(4, \n, 1)= 1
read(4, \n, 1)= 1
read(4, \n, 1)= 1
read(4, [, 1) = 1
read(4, t, 1) = 1
read(4, e, 1) = 1
read(4, s, 1) = 1
read(4, t, 1) = 1
read(4, 8, 1) = 1
read(4, 3, 1) = 1
read(4, ], 1) = 1
read(4, \n, 1)= 1
read(4, u, 1) = 1
read(4, s, 1) = 1
read(4, e, 1) = 1
read(4, r, 1) = 1
read(4,  , 1) = 1
read(4, =, 1) = 1
read(4,  , 1) = 1
read(4, $, 1) = 1
read(4, p, 1) = 1
read(4, o, 1) = 1
read(4, o, 1) = 1
read(4, l, 1) = 1
read(4, \n, 1)= 1
read(4, g, 1) = 1
read(4, r, 1) = 1
read(4, o, 1) = 1
read(4, u, 1) = 1
read(4, p, 1) = 1
read(4,  , 1) = 1
read(4, =, 1) = 1
read(4,  , 1) = 1
read(4, $, 1) = 1
read(4, p, 1) = 1
read(4, o, 1) = 1
read(4, o, 1) = 1
read(4, l, 1) = 1
read(4, \n, 1)= 1
read(4, \n, 1)= 1
read(4, l, 1) = 1
read(4, i, 1) = 1
read(4, s, 1) = 1
read(4, t, 1) = 1
read(4, e, 1) = 1
read(4, n, 1) = 1
read(4,  , 1) = 1
read(4, =, 1) = 1
read(4,  , 1) = 1
read(4, /, 1) = 1
read(4, t, 1) = 1
read(4, m, 1) = 1
read(4, p, 1) = 1
read(4, /, 1) = 1
read(4, f, 1) = 1
read(4, p, 1) = 1
read(4, m, 1) = 1
read(4, 5, 1) = 1
read(4, 3, 1) = 1
read(4, /, 1) = 1
read(4, $, 1) = 1
read(4, p, 1) = 1
read(4, o, 1) = 1
read(4, o, 1) = 1
read(4, l, 1) = 1
read(4, ., 1) = 1
read(4, s, 1) = 1
read(4, o, 1) = 1
read(4, c, 1) = 1
read(4, k, 1) = 1
read(4, \n, 1)= 1
read(4, \n, 1)= 1
read(4, p, 1) = 1
read(4, m, 1) = 1
read(4,  , 1) = 1
read(4, =, 1) = 1
read(4,  , 1) = 1
read(4, d, 1) = 1
read(4, y, 1) = 1
read(4, n, 1) = 1
read(4, a, 1) = 1
read(4, m, 1) = 1
read(4, i, 1) = 1
read(4, c, 1) = 1
read(4, \n, 1)= 1
read(4, p, 1) = 1
read(4, m, 1) = 1
read(4, ., 1) = 1
read(4, m, 1) = 1
read(4, a, 1) = 1
read(4, x, 1) = 1
read(4, _, 1) = 1
read(4, c, 1) = 1
read(4, h, 1) = 1
read(4, i, 1) = 1
read(4, l, 1) = 1
read(4, d, 1) = 1
read(4, r, 1) = 1
read(4, e, 1) = 1
read(4, n, 1) = 1

Bug #63983 [Com]: enabling FPM borks compile

2013-02-21 Thread phpfpm1 at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=63983edit=1

 ID: 63983
 Comment by: phpfpm1 at gmail dot com
 Reported by:jhein_98 at swbell dot net
 Summary:enabling FPM borks compile
 Status: Open
 Type:   Bug
 Package:Compile Failure
 Operating System:   FreeBSD 9.1
 PHP Version:5.4.10
 Block user comment: N
 Private report: N

 New Comment:

Any new on this? It's still not fixed. Patch submitted works fine.


Previous Comments:

[2013-01-14 05:39:01] jhein_98 at swbell dot net

After doing some research, I think I may have found a fix.  I'm testing it now

Fix:
just replace in file fpm_sockets.c :
1)info.tcpi_sacked = info.__tcpi_sacked
2)info.tcpi_unacked = info.__tcpi_unacked

Hopefully this works and helps someone else.


[2013-01-14 04:53:03] jhein_98 at swbell dot net

Description:

Running the configure script with --enable-fpm causes make to fail with the 
following errors:

/usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c -o 
sapi/fpm/fpm/fpm_sockets.lo
/usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c: In function 
'fpm_socket_get_listening_queue':
/usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c:404: error: 'struct 
tcp_info' has no member named 'tcpi_sacked'
/usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c:409: error: 'struct 
tcp_info' has no member named 'tcpi_unacked'
/usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c:413: error: 'struct 
tcp_info' has no member named 'tcpi_sacked'
*** [sapi/fpm/fpm/fpm_sockets.lo] Error code 1

Stop in /usr/local/src/php-5.4.10.


The specific options I passed to the configure script was:
./configure --prefix=/usr/local/software/php --mandir=/usr/local/man  
--enable-cgi --enable-fpm --with-mysql=/usr/local/software/mysql  
--with-openssl-dir=/usr/local/software/openssl








-- 
Edit this bug report at https://bugs.php.net/bug.php?id=63983edit=1