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.
php as cgi is not an options for me, as my applications require apache module
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.
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 :)