PDA

Просмотр полной версии : Настрйока Fedora 8 + Zend + Jonn 22


AccessForbidden
18.05.2009, 22:34
Гугл в помощь.


Ошибка "Failed loading /usr/local/Zend/lib/ZendExtensionManager.so: /usr/local/Zend/lib/ZendExtensionManager.so: failed to map segment from shared object: Permission denied", запись в логах "kernel: audit(1242042081.545:8 avc: denied { execute } for pid"

http://www.zend.com/support/knowledgebase.php?kbid=123&view_only=1 (https://href.li/?http://www.zend.com/support/knowledgebase.php?kbid=123&view_only=1)

Fedora Core comes with SELinux security extension enabled by default. This security extension limits access to some files and system services by popular daemon programs like httpd. To learn whether SELinux is enabled on the machine you can run the following command: /usr/sbin/getenforce

Workaround

1) Disable SELinux by editing /etc/selinux/config and setting SELINUX=disabled' there.
2) If you want SELinux enabled, you can remove SELinux protection from httpd by using system-config-securitylevel tool
3) If you want SELinux protection on httpd, use this to enable loading Zend modules: chcon -t httpd_modules_t `find /usr/local/Zend/lib -name \*.so`