PHP 5.2.5-3 Segfaulting

Support/Development for PHP
andrewkhunn
Forum User
Forum User
Posts: 6
Joined: Fri Jan 18, 2008 3:21 pm

PHP 5.2.5-3 Segfaulting

Unread post by andrewkhunn »

Just updated to PHP 5.2.5-3 via the atomic repository. Unfortunately, the adrress to ioncube_loader_lin_5.2.so was broken in /etc/php.d/ioncube.ini. After I fixed that up, I discovered the PHP is still segfaulting.

Any ideas?
Labonte18
New Forum User
New Forum User
Posts: 2
Joined: Fri Jan 18, 2008 4:19 pm

Unread post by Labonte18 »

I can't confirm your exact problem, however, it may be the same. I run Ensim and when I upgraded to -3, restarted Apache, I started getting exclog: received EOF, exitting

Rolled back to -2.. Everything works great..

Don't know if it's related.. If it's just a quirk with Ensim... Or if I just don't know enough about what i'm doing.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

php-eaccelerator had to be recompiled to work with it. I updated that package in the archive earlier.
andrewkhunn
Forum User
Forum User
Posts: 6
Joined: Fri Jan 18, 2008 3:21 pm

Unread post by andrewkhunn »

I wasn't using eAccelerator and PHP itself was segfaulting: I wasn't having issues with Apache. I ended up rolling back to -2 and everything is back to normal.

Still having some weird issues with ioncube.ini on re/install. Need to update the line that points to the active .so each time.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

My guess is that like eaccelerator, ioncube and probably zend-optimizer would have to be rebuilt to work with it. Which we can't do of course.

So rock and a hard place... whats more important? Im kind of leaning toward extension compatibility being a higher priority than the ini fix.
andrewkhunn
Forum User
Forum User
Posts: 6
Joined: Fri Jan 18, 2008 3:21 pm

Unread post by andrewkhunn »

scott wrote:My guess is that like eaccelerator, ioncube and probably zend-optimizer would have to be rebuilt to work with it. Which we can't do of course.

So rock and a hard place... whats more important? Im kind of leaning toward extension compatibility being a higher priority than the ini fix.
Well, of course. But -3 segfaulting is still a pretty big deal IMHO.

P.S. Thanks for the awesome resource; haven't said that before, but I really mean it!
crnunez
Forum User
Forum User
Posts: 37
Joined: Sun May 20, 2007 10:44 pm

Unread post by crnunez »

My PHP crash with this release!!
[root@ns PHP]$ php -v
Segmentation fault
I roll back again for it works!

CentOS 5
Plesk 8.3
alefort
New Forum User
New Forum User
Posts: 2
Joined: Sun Jan 20, 2008 8:41 pm

Unread post by alefort »

I also suffered the same fate today, but my issue stems from loading xcache and it then seg faulting.

I've had to remove xcache from php, any idea what I Can do so I can re-enable xcache?
andrewkhunn
Forum User
Forum User
Posts: 6
Joined: Fri Jan 18, 2008 3:21 pm

Unread post by andrewkhunn »

alefort wrote:I also suffered the same fate today, but my issue stems from loading xcache and it then seg faulting.

I've had to remove xcache from php, any idea what I Can do so I can re-enable xcache?
Interesting. I am running Xcache as well, although I didn't notice it being the culprit per se. Perhaps upgrading to -3 and then re-compiling Xcache against the new version may fix the segfaulting?
franki
Forum User
Forum User
Posts: 20
Joined: Mon Aug 13, 2007 12:26 am

Unread post by franki »

I got the following error with php version 5.2.5-4.el4.art.i386 packages.

[root@ns1 httpd]# php -v
Failed loading /usr/lib/php/zend/ZendOptimizer-.so: /usr/lib/php/zend/ZendOptimizer-.so: cannot open shared object file: No such file or directory
PHP 5.2.5 (cli) (built: Jan 19 2008 10:08:24)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
andrewkhunn
Forum User
Forum User
Posts: 6
Joined: Fri Jan 18, 2008 3:21 pm

Unread post by andrewkhunn »

franki wrote:I got the following error with php version 5.2.5-4.el4.art.i386 packages.

[root@ns1 httpd]# php -v
Failed loading /usr/lib/php/zend/ZendOptimizer-.so: /usr/lib/php/zend/ZendOptimizer-.so: cannot open shared object file: No such file or directory
PHP 5.2.5 (cli) (built: Jan 19 2008 10:08:24)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
You need to fix the reference to ZendOptimizer in /etc/php.d/[zendoptimizer].ini.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

I found the same in /etc/php.d/ioncube.ini yesterday. That file was trying to load /usr/lib/php/ioncube/ioncube_loader_lin_.so instead of /usr/lib/php/ioncube/ioncube_loader_lin_5.2.so.
Lemonbit Internet Dedicated Server Management
alefort
New Forum User
New Forum User
Posts: 2
Joined: Sun Jan 20, 2008 8:41 pm

Unread post by alefort »

andrewkhunn wrote:
alefort wrote:I also suffered the same fate today, but my issue stems from loading xcache and it then seg faulting.

I've had to remove xcache from php, any idea what I Can do so I can re-enable xcache?
Interesting. I am running Xcache as well, although I didn't notice it being the culprit per se. Perhaps upgrading to -3 and then re-compiling Xcache against the new version may fix the segfaulting?
Yup, it sure did. Recompiling solved the issue.
Post Reply