Перейдем в директорию /tmp:
Загрузим дистрибутив с сайта производителя для 32-битных ОС:
или для 64-битных ОС:
Распаковываем:
Переходим в директорию ZendOptimizer-3.3.9-linux-glibc23-i386:
Копируем файл для версии 5.2.xx:
В файл /etc/php.ini вносим строки в секцию [Zend]:
Перезапускаем Apache командой:
Внимание! При наличие иных акселераторов они должны быть установлены в /etc/php.ini ранее, чем ZendOptimizer. Большинство последних панелей Plesk устанавливает автоматически IonCube, что не позволит запуститься Apache после установки ZendOptimizer.
Для отключения IonCube перейдите в /etc/php.d/ioncube-loader.ini и поставьте # в первой строке файла перед zend_extension.
Ошибка "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
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`