[PHP-BUG] Bug #61063 [NEW]: enable-fpm bugs

2012-02-12 Thread hotseason007 at gmail dot com
From: 
Operating system: centos 5.7
PHP version:  5.3.10
Package:  *Configuration Issues
Bug Type: Bug
Bug description:enable-fpm bugs

Description:

http://php-fpm.org/downloads/
there is no fpm for 5.3.10 

the feature is EXPERIMENTAL,bug it will make install fail!

cd php-5.3.x
svn co http://svn.php.net/repository/php/php-src/trunk/sapi/fpm sapi/fpm

there is a error 



Test script:
---
after installed,there is no sbin/php-fpm!



Expected result:

Enable fpm ok !

Actual result:
--
Enable fpm ok and everything goes right after the patch !

here is more about the patch
https://github.com/Qzi/webstore/wiki

-- 
Edit bug report at https://bugs.php.net/bug.php?id=61063edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=61063r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=61063r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=61063r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=61063r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=61063r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=61063r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=61063r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=61063r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=61063r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=61063r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=61063r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=61063r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=61063r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=61063r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=61063r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=61063r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=61063r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=61063r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=61063r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=61063r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=61063r=mysqlcfg



Bug #61057 [Com]: PHP 5.3.10 fails to cross compile when FPM is enabled (ptrace)

2012-02-12 Thread hotseason007 at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=61057edit=1

 ID: 61057
 Comment by: hotseason007 at gmail dot com
 Reported by:d dot albano at gmail dot com
 Summary:PHP 5.3.10 fails to cross compile when FPM is
 enabled (ptrace)
 Status: Open
 Type:   Bug
 Package:Compile Failure
 Operating System:   Linux
 PHP Version:5.3.10
 Block user comment: N
 Private report: N

 New Comment:

I also reach it ,but php.net don't regard it as a bug !

here is my report:
https://bugs.php.net/bug.php?id=61063

I have fix and Here is the guid:
https://github.com/Qzi/webstore/wiki
the page attaches the patch

enjoy it !!


Previous Comments:

[2012-02-11 17:15:22] d dot albano at gmail dot com

Description:

I'm trying to cross compile php 5.3.10 (build x86, host x86, target x86) but 
when i enable FPM i get the following error

checking whether ptrace works... configure: error: can not run test program 
while cross compiling

I know that FPM is experimental, btw the bug is related to configure script and 
not to FPM itself.

Wihtout fpm, enabling only cgi and cli works fine

Here more output, starting from SAPI modules

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support... no
checking whether to enable Apache charset compatibility option... no
checking for Caudium support... no
checking for CLI build... yes
checking for Continuity support... no
checking for embedded SAPI library support... no
checking for FPM build... yes
checking for setenv... yes
checking for clearenv... yes
checking for setproctitle... no
checking for library containing socket... none required
checking for library containing inet_addr... none required
checking for errno.h... yes
checking for fcntl.h... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for sys/uio.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for arpa/inet.h... yes
checking for netinet/in.h... yes
checking for prctl... yes
checking for clock_gettime... yes
checking for ptrace... yes
checking whether ptrace works... configure: error: can not run test program 
while cross compiling
make[1]: *** [/home/daniele/sviluppo/clew.js/br-rootfs/build/php-
5.3.10/.stamp_configured] Errore 1
make: *** [all] Errore 2

Expected result:

it should go ahead

Actual result:
--
checking whether ptrace works... configure: error: can not run test program 
while 
cross compiling






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


Bug #61063 [Com]: enable-fpm bugs

2012-02-12 Thread hotseason007 at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=61063edit=1

 ID: 61063
 Comment by: hotseason007 at gmail dot com
 Reported by:hotseason007 at gmail dot com
 Summary:enable-fpm bugs
 Status: Not a bug
 Type:   Bug
 Package:*Configuration Issues
 Operating System:   centos 5.7
 PHP Version:5.3.10
 Block user comment: N
 Private report: N

 New Comment:

I know that fpm ships with 5.3.10,but there is compile error,I'm not along !
https://bugs.php.net/bug.php?id=61057


Previous Comments:

[2012-02-12 20:42:18] ras...@php.net

FPM ships with the PHP source distribution. Use ./configure --enable-fpm  
make 
to build it.


[2012-02-12 20:36:50] hotseason007 at gmail dot com

Description:

http://php-fpm.org/downloads/
there is no fpm for 5.3.10 

the feature is EXPERIMENTAL,bug it will make install fail!

cd php-5.3.x
svn co http://svn.php.net/repository/php/php-src/trunk/sapi/fpm sapi/fpm

there is a error 



Test script:
---
after installed,there is no sbin/php-fpm!



Expected result:

Enable fpm ok !

Actual result:
--
Enable fpm ok and everything goes right after the patch !

here is more about the patch
https://github.com/Qzi/webstore/wiki






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