Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165894 - dev-lang/php concurrentmodphp is not compatible with ZendOptimizer
Summary: dev-lang/php concurrentmodphp is not compatible with ZendOptimizer
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.php.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-08 10:59 UTC by Dmitry Poltaryonok
Modified: 2007-02-08 11:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :)