Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 165894

Summary: dev-lang/php concurrentmodphp is not compatible with ZendOptimizer
Product: Gentoo Linux Reporter: Dmitry Poltaryonok <dmitry.poltaryonok>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED UPSTREAM    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.php.net
Whiteboard:
Package list:
Runtime testing required: ---

Description Dmitry Poltaryonok 2007-02-08 10:59:41 UTC
If I emerge both or any one of php versions using either
USE="concurrentmodphp" emerge '<php-5.0' '>php-5.0'  or
USE="concurrentmodphp" emerge '>php-5.0' (for php 5.0.1+)
On php startup or apache startup ZendOptimizer fails to load with message: invalid zend extension ZendOptimizer.so

Reemerging without concurrentmodphp flag corrects this misunderstanding, but I may only use 2 php versions using 2 apache instances, which is not satisfactory for me.
Comment 1 Dmitry Poltaryonok 2007-02-08 11:00:46 UTC
php as cgi is not an options for me, as my applications require apache module
Comment 2 Luca Longinotti (RETIRED) gentoo-dev 2007-02-08 11:04:18 UTC
Drop ZendOptimizer, it is not compatible at all with concurrentmodphp, as are all binary PHP extensions. To have it work correctly you MUST compile the extension in a particular way, to version all symbols of it, and since there is no source for binary extensions like ZendOptimizer or IonCube Loader, those can never be made to work with concurrentmodphp... Blame closed source! ;)
Best regards, CHTEKK.
Comment 3 Dmitry Poltaryonok 2007-02-08 11:23:11 UTC
Ok then :)
Is it possible somehow for you to contact zend to make this solved? (Like telling them we have php with concurrentmodphp and it is not compatible with zendoptimizer etc.)
I remember in windows just changing binary files php4ts.dll and php4apache2.dll (exactly changing php.ini to ph4.ini  x-httpd-php to x-httpd-ph4 and x-httpd-php-source to x-httpd-ph4-source) everything still works.

Thanks anyway :)