zendtech / ZendOptimizerPlus

Other
915 stars 142 forks source link

PECL install adds extension= instead of zend_extension= to php.ini #54

Closed scribblet closed 11 years ago

scribblet commented 11 years ago

pecl install zendoptimizerplus head /etc/php.ini

Will result in:

extension="ZendOptimizerPlus.so"

When it should be:

zend_extension="ZendOptimizerPlus.so"

laruence commented 11 years ago

however, after this fix, the automatic ini entry "zend_extension=ZendOptimizerPlus.so" is till not right.

it should be "zend_extension=path to ZendOptimizerPlus.so", but this is an PEAR issue.

CHH commented 11 years ago

however, after this fix, the automatic ini entry "zend_extension=ZendOptimizerPlus.so" is till not right.

If it's not working anyway, why write an entry to the INI? I think it would be best to remove/disable this feature until this is fixed in PEAR.

This is really annoying for end users, because you do pecl install ZendOpcache-beta and then you end up with Failed loading opcache.so: dlopen(opcache.so, 9): image not found.