# cat /var/log/messages | grep ZendAug 10 17:00:41 www setroubleshoot: SELinux is preventing /usr/bin/php from loading /usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so which requires text relocation. For complete SELinux messages. run sealert -l bb012991-4c46-458f-a7be-b5ee00d43b65
# sealert -l bb012991-4c46-458f-a7be-b5ee00d43b65
Allowing Access
If you trust /usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so
to run correctly, you can change the file context to textrel_shlib_t. "chcon
-t textrel_shlib_t
/usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so"
The following command will allow this access:
chcon -t textrel_shlib_t /usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so
# chcon -t textrel_shlib_t /usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so
# php -m
[Zend Modules]
Zend Extension Manager
Zend Optimizer
Модуль подгрузился но в phpinfo его не видно...