Welcome! Log In Create A New Profile

Advanced

php-fpm 0.6 with php 5.2.11 and ioncube_loader 3.3.4 or zendoptimzer 3.3.9 on x64 problems

Posted by karim_ 
Hi,

I just upgraded from the older php-fpm and php 5.2.10 to php-fpm0.6
with php 5.2.11 and i seem to have some problems with my loaders now.

Im not saying that this is php-fpm perse, but some help in
brainstorming would be appreciated :)
Here's the situation

1) Loading both ioncube loader 3.3.4 and zend optimzer 3.3.9 gives:
-------
Gracefully shutting down php-fpm . done
Starting php-fpm Failed loading /usr/share/
ioncube_loader_lin_5.2.so: /usr/share/ioncube_loader_lin_5.2.so:
undefined symbol: reflection_parameter_ptr
done
--------
However, accessing any php page results in a 404, with this in the php-
fpm.log:

[WARNING] fpm_children_bury(), line 217: child 13777 (pool default)
exited on signal 11 SIGSEGV after 23.107789 seconds from start

And this in my nginx error logs:

2009/11/18 17:36:03 [error] 10884#0: *294 recv() failed (104:
Connection reset by peer) while reading response header from upstream,
client: xx.xxx.xxx.xx, server: xxxx.xxxx.xxx, request: "GET /xxx/
phpinfo.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host:
"xxxx.xxxx.xxx"

2) Loading only ioncube loader 3.3.4
Gracefully shutting down php-fpm . done
Starting php-fpm Failed loading /usr/share/
ioncube_loader_lin_5.2.so: /usr/share/ioncube_loader_lin_5.2.so:
undefined symbol: reflection_parameter_ptr
done
--------
Accessing a php file goes fine, but the loader isnt loaded
No faults in my php-fpm log or nginx error logs

3) Loading only zend optimizer 3.3.9
Gracefully shutting down php-fpm . done
Starting php-fpm done
----------
No errors in restart, but at 2nd load of a php file and i get this in
php-fpm.log:
Nov 18 17:57:53.593970 [WARNING] fpm_children_bury(), line 217: child
14100 (pool default) exited on signal 11 SIGSEGV after 35.680223
seconds from start

And this in my nginx error logs:
2009/11/18 17:57:53 [error] 14006#0: *294 recv() failed (104:
Connection reset by peer) while reading response header from upstream,
client: xx.xxx.xxx.xx, server: xxxx.xxxx.xxx, request: "GET /xxx/
phpinfo.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host:
"xxxx.xxxx.xxx"

Loading the older version of ioncube loader alone, or combined with an
old version of the zend optimizer things are fine.

Any ideas?
Fixed,

I compiled php with --disable-reflection
Which is needed by both zend optimzer and ioncube!

On Nov 18, 6:00 pm, karim_ <i...@evolvedmarketing.net> wrote:
> Hi,
>
> I just upgraded from the older php-fpm and php 5.2.10 to php-fpm0.6
> with php 5.2.11 and i seem to have some problems with my loaders now.
>
> Im not saying that this is php-fpm perse, but some help in
> brainstorming would be appreciated :)
> Here's the situation
>
> 1) Loading both ioncube loader 3.3.4 and zend optimzer 3.3.9 gives:
> -------
> Gracefully shutting down php-fpm . done
> Starting php-fpm Failed loading /usr/share/
> ioncube_loader_lin_5.2.so:  /usr/share/ioncube_loader_lin_5.2.so:
> undefined symbol: reflection_parameter_ptr
>  done
> --------
> However, accessing any php page results in a 404, with this in the php-
> fpm.log:
>
> [WARNING] fpm_children_bury(), line 217: child 13777 (pool default)
> exited on signal 11 SIGSEGV after 23.107789 seconds from start
>
> And this in my nginx error logs:
>
> 2009/11/18 17:36:03 [error] 10884#0: *294 recv() failed (104:
> Connection reset by peer) while reading response header from upstream,
> client: xx.xxx.xxx.xx, server: xxxx.xxxx.xxx, request: "GET /xxx/
> phpinfo.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host:
> "xxxx.xxxx.xxx"
>
> 2) Loading only ioncube loader 3.3.4
> Gracefully shutting down php-fpm . done
> Starting php-fpm Failed loading /usr/share/
> ioncube_loader_lin_5.2.so:  /usr/share/ioncube_loader_lin_5.2.so:
> undefined symbol: reflection_parameter_ptr
>  done
> --------
> Accessing a php file goes fine, but the loader isnt loaded
> No faults in my php-fpm log or nginx error logs
>
> 3) Loading only zend optimizer 3.3.9
> Gracefully shutting down php-fpm . done
> Starting php-fpm  done
> ----------
> No errors in restart, but at 2nd load of a php file and i get this in
> php-fpm.log:
> Nov 18 17:57:53.593970 [WARNING] fpm_children_bury(), line 217: child
> 14100 (pool default) exited on signal 11 SIGSEGV after 35.680223
> seconds from start
>
> And this in my nginx error logs:
> 2009/11/18 17:57:53 [error] 14006#0: *294 recv() failed (104:
> Connection reset by peer) while reading response header from upstream,
> client: xx.xxx.xxx.xx, server: xxxx.xxxx.xxx, request: "GET /xxx/
> phpinfo.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host:
> "xxxx.xxxx.xxx"
>
> Loading the older version of ioncube loader alone, or combined with an
> old version of the zend optimizer things are fine.
>
> Any ideas?
EDIT:
Ioncube works fine, but Zend Optimzer still hangs if loaded combined
with ioncube or alone..
Same error messages for zend optimizer (the connection reset by peer
and the children_bury)

On Nov 19, 11:50 am, karim_ <i...@evolvedmarketing.net> wrote:
> Fixed,
>
> I compiled php with --disable-reflection
> Which is needed by both zend optimzer and ioncube!
>
> On Nov 18, 6:00 pm, karim_ <i...@evolvedmarketing.net> wrote:
>
>
>
> > Hi,
>
> > I just upgraded from the older php-fpm and php 5.2.10 to php-fpm0.6
> > with php 5.2.11 and i seem to have some problems with my loaders now.
>
> > Im not saying that this is php-fpm perse, but some help in
> > brainstorming would be appreciated :)
> > Here's the situation
>
> > 1) Loading both ioncube loader 3.3.4 and zend optimzer 3.3.9 gives:
> > -------
> > Gracefully shutting down php-fpm . done
> > Starting php-fpm Failed loading /usr/share/
> > ioncube_loader_lin_5.2.so:  /usr/share/ioncube_loader_lin_5.2.so:
> > undefined symbol: reflection_parameter_ptr
> >  done
> > --------
> > However, accessing any php page results in a 404, with this in the php-
> > fpm.log:
>
> > [WARNING] fpm_children_bury(), line 217: child 13777 (pool default)
> > exited on signal 11 SIGSEGV after 23.107789 seconds from start
>
> > And this in my nginx error logs:
>
> > 2009/11/18 17:36:03 [error] 10884#0: *294 recv() failed (104:
> > Connection reset by peer) while reading response header from upstream,
> > client: xx.xxx.xxx.xx, server: xxxx.xxxx.xxx, request: "GET /xxx/
> > phpinfo.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host:
> > "xxxx.xxxx.xxx"
>
> > 2) Loading only ioncube loader 3.3.4
> > Gracefully shutting down php-fpm . done
> > Starting php-fpm Failed loading /usr/share/
> > ioncube_loader_lin_5.2.so:  /usr/share/ioncube_loader_lin_5.2.so:
> > undefined symbol: reflection_parameter_ptr
> >  done
> > --------
> > Accessing a php file goes fine, but the loader isnt loaded
> > No faults in my php-fpm log or nginx error logs
>
> > 3) Loading only zend optimizer 3.3.9
> > Gracefully shutting down php-fpm . done
> > Starting php-fpm  done
> > ----------
> > No errors in restart, but at 2nd load of a php file and i get this in
> > php-fpm.log:
> > Nov 18 17:57:53.593970 [WARNING] fpm_children_bury(), line 217: child
> > 14100 (pool default) exited on signal 11 SIGSEGV after 35.680223
> > seconds from start
>
> > And this in my nginx error logs:
> > 2009/11/18 17:57:53 [error] 14006#0: *294 recv() failed (104:
> > Connection reset by peer) while reading response header from upstream,
> > client: xx.xxx.xxx.xx, server: xxxx.xxxx.xxx, request: "GET /xxx/
> > phpinfo.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host:
> > "xxxx.xxxx.xxx"
>
> > Loading the older version of ioncube loader alone, or combined with an
> > old version of the zend optimizer things are fine.
>
> > Any ideas?- Hide quoted text -
>
> - Show quoted text -
just to throw some ideas in here

according to this:
http://www.ioncube.com/faq.php?sid=1d442d702d1781b4639c7c566b801878&sid=1d442d702d1781b4639c7c566b801878#zo2

both can be combined

however, it says you should ensure the ioncube loader is positioned
first in the ini file

no clue if that helps but that's all i can add.

On Thu, Nov 19, 2009 at 2:55 AM, karim_ <info@evolvedmarketing.net> wrote:
> EDIT:
> Ioncube works fine, but Zend Optimzer still hangs if loaded combined
> with ioncube or alone..
> Same error messages for zend optimizer (the connection reset by peer
> and the children_bury)
>
> On Nov 19, 11:50 am, karim_ <i...@evolvedmarketing.net> wrote:
>> Fixed,
>>
>> I compiled php with --disable-reflection
>> Which is needed by both zend optimzer and ioncube!
>>
>> On Nov 18, 6:00 pm, karim_ <i...@evolvedmarketing.net> wrote:
>>
>>
>>
>> > Hi,
>>
>> > I just upgraded from the older php-fpm and php 5.2.10 to php-fpm0.6
>> > with php 5.2.11 and i seem to have some problems with my loaders now.
>>
>> > Im not saying that this is php-fpm perse, but some help in
>> > brainstorming would be appreciated :)
>> > Here's the situation
>>
>> > 1) Loading both ioncube loader 3.3.4 and zend optimzer 3.3.9 gives:
>> > -------
>> > Gracefully shutting down php-fpm . done
>> > Starting php-fpm Failed loading /usr/share/
>> > ioncube_loader_lin_5.2.so:  /usr/share/ioncube_loader_lin_5.2.so:
>> > undefined symbol: reflection_parameter_ptr
>> >  done
>> > --------
>> > However, accessing any php page results in a 404, with this in the php-
>> > fpm.log:
>>
>> > [WARNING] fpm_children_bury(), line 217: child 13777 (pool default)
>> > exited on signal 11 SIGSEGV after 23.107789 seconds from start
>>
>> > And this in my nginx error logs:
>>
>> > 2009/11/18 17:36:03 [error] 10884#0: *294 recv() failed (104:
>> > Connection reset by peer) while reading response header from upstream,
>> > client: xx.xxx.xxx.xx, server: xxxx.xxxx.xxx, request: "GET /xxx/
>> > phpinfo.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host:
>> > "xxxx.xxxx.xxx"
>>
>> > 2) Loading only ioncube loader 3.3.4
>> > Gracefully shutting down php-fpm . done
>> > Starting php-fpm Failed loading /usr/share/
>> > ioncube_loader_lin_5.2.so:  /usr/share/ioncube_loader_lin_5.2.so:
>> > undefined symbol: reflection_parameter_ptr
>> >  done
>> > --------
>> > Accessing a php file goes fine, but the loader isnt loaded
>> > No faults in my php-fpm log or nginx error logs
>>
>> > 3) Loading only zend optimizer 3.3.9
>> > Gracefully shutting down php-fpm . done
>> > Starting php-fpm  done
>> > ----------
>> > No errors in restart, but at 2nd load of a php file and i get this in
>> > php-fpm.log:
>> > Nov 18 17:57:53.593970 [WARNING] fpm_children_bury(), line 217: child
>> > 14100 (pool default) exited on signal 11 SIGSEGV after 35.680223
>> > seconds from start
>>
>> > And this in my nginx error logs:
>> > 2009/11/18 17:57:53 [error] 14006#0: *294 recv() failed (104:
>> > Connection reset by peer) while reading response header from upstream,
>> > client: xx.xxx.xxx.xx, server: xxxx.xxxx.xxx, request: "GET /xxx/
>> > phpinfo.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host:
>> > "xxxx.xxxx.xxx"
>>
>> > Loading the older version of ioncube loader alone, or combined with an
>> > old version of the zend optimizer things are fine.
>>
>> > Any ideas?- Hide quoted text -
>>
>> - Show quoted text -
>
Hi Michael,

Ioncube loader was positioned first yes..

I just fixed the problem with Zend Optimizer, setting
zend_optimizer.optimization_level=8 (in php.ini, below where you load
the zend extension) fixed the problem
They are running fine now, next to eachother...

Ill digg into that option a bit more and give you an update if i can
find out why it works like this, but not default!

On Nov 19, 12:00 pm, Michael Shadle <mike...@gmail.com> wrote:
> just to throw some ideas in here
>
> according to this:http://www.ioncube.com/faq.php?sid=1d442d702d1781b4639c7c566b801878&s...
>
> both can be combined
>
> however, it says you should ensure the ioncube loader is positioned
> first in the ini file
>
> no clue if that helps but that's all i can add.
>
>
>
> On Thu, Nov 19, 2009 at 2:55 AM, karim_ <i...@evolvedmarketing.net> wrote:
> > EDIT:
> > Ioncube works fine, but Zend Optimzer still hangs if loaded combined
> > with ioncube or alone..
> > Same error messages for zend optimizer (the connection reset by peer
> > and the children_bury)
>
> > On Nov 19, 11:50 am, karim_ <i...@evolvedmarketing.net> wrote:
> >> Fixed,
>
> >> I compiled php with --disable-reflection
> >> Which is needed by both zend optimzer and ioncube!
>
> >> On Nov 18, 6:00 pm, karim_ <i...@evolvedmarketing.net> wrote:
>
> >> > Hi,
>
> >> > I just upgraded from the older php-fpm and php 5.2.10 to php-fpm0.6
> >> > with php 5.2.11 and i seem to have some problems with my loaders now.
>
> >> > Im not saying that this is php-fpm perse, but some help in
> >> > brainstorming would be appreciated :)
> >> > Here's the situation
>
> >> > 1) Loading both ioncube loader 3.3.4 and zend optimzer 3.3.9 gives:
> >> > -------
> >> > Gracefully shutting down php-fpm . done
> >> > Starting php-fpm Failed loading /usr/share/
> >> > ioncube_loader_lin_5.2.so:  /usr/share/ioncube_loader_lin_5.2.so:
> >> > undefined symbol: reflection_parameter_ptr
> >> >  done
> >> > --------
> >> > However, accessing any php page results in a 404, with this in the php-
> >> > fpm.log:
>
> >> > [WARNING] fpm_children_bury(), line 217: child 13777 (pool default)
> >> > exited on signal 11 SIGSEGV after 23.107789 seconds from start
>
> >> > And this in my nginx error logs:
>
> >> > 2009/11/18 17:36:03 [error] 10884#0: *294 recv() failed (104:
> >> > Connection reset by peer) while reading response header from upstream,
> >> > client: xx.xxx.xxx.xx, server: xxxx.xxxx.xxx, request: "GET /xxx/
> >> > phpinfo.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host:
> >> > "xxxx.xxxx.xxx"
>
> >> > 2) Loading only ioncube loader 3.3.4
> >> > Gracefully shutting down php-fpm . done
> >> > Starting php-fpm Failed loading /usr/share/
> >> > ioncube_loader_lin_5.2.so:  /usr/share/ioncube_loader_lin_5.2.so:
> >> > undefined symbol: reflection_parameter_ptr
> >> >  done
> >> > --------
> >> > Accessing a php file goes fine, but the loader isnt loaded
> >> > No faults in my php-fpm log or nginx error logs
>
> >> > 3) Loading only zend optimizer 3.3.9
> >> > Gracefully shutting down php-fpm . done
> >> > Starting php-fpm  done
> >> > ----------
> >> > No errors in restart, but at 2nd load of a php file and i get this in
> >> > php-fpm.log:
> >> > Nov 18 17:57:53.593970 [WARNING] fpm_children_bury(), line 217: child
> >> > 14100 (pool default) exited on signal 11 SIGSEGV after 35.680223
> >> > seconds from start
>
> >> > And this in my nginx error logs:
> >> > 2009/11/18 17:57:53 [error] 14006#0: *294 recv() failed (104:
> >> > Connection reset by peer) while reading response header from upstream,
> >> > client: xx.xxx.xxx.xx, server: xxxx.xxxx.xxx, request: "GET /xxx/
> >> > phpinfo.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host:
> >> > "xxxx.xxxx.xxx"
>
> >> > Loading the older version of ioncube loader alone, or combined with an
> >> > old version of the zend optimizer things are fine.
>
> >> > Any ideas?- Hide quoted text -
>
> >> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
if you have the time, it would be beneficial to know if this is a
php-fpm specific issue or not too :)

maybe try mod_php w/ apache? or spawn-fcgi? if you have the time and
desire to help make a better php-fpm that is :)

On Thu, Nov 19, 2009 at 3:04 AM, karim_ <info@evolvedmarketing.net> wrote:
> Hi Michael,
>
> Ioncube loader was positioned first yes..
>
> I just fixed the problem with Zend Optimizer, setting
> zend_optimizer.optimization_level=8 (in php.ini, below where you load
> the zend extension) fixed the problem
> They are running fine now, next to eachother...
>
> Ill digg into that option a bit more and give you an update if i can
> find out why it works like this, but not default!
Its nota php-fpm issue,

Its APC (php cache) colliding with Zend, i had to set
zend_optimization_level to 0 for it to work flawlessly.
Makes sense, but its not documented while installing APC on most
places :)

So, looks like everything is fixed now!

On Nov 19, 12:07 pm, Michael Shadle <mike...@gmail.com> wrote:
> if you have the time, it would be beneficial to know if this is a
> php-fpm specific issue or not too :)
>
> maybe try mod_php w/ apache? or spawn-fcgi? if you have the time and
> desire to help make a better php-fpm that is :)
>
>
>
> On Thu, Nov 19, 2009 at 3:04 AM, karim_ <i...@evolvedmarketing.net> wrote:
> > Hi Michael,
>
> > Ioncube loader was positioned first yes..
>
> > I just fixed the problem with Zend Optimizer, setting
> > zend_optimizer.optimization_level=8 (in php.ini, below where you load
> > the zend extension) fixed the problem
> > They are running fine now, next to eachother...
>
> > Ill digg into that option a bit more and give you an update if i can
> > find out why it works like this, but not default!- Hide quoted text -
>
> - Show quoted text -
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 169
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready