SymptomsApache web server is not working after PHP 5 and eAccelerator are turned on.
CauseAt startup, PHP 5.2.12 (the new version) loads all enabled modules, including the eAccelerator module. The module is compiled with the older PHP version (5.2.10), which is compared with the version of PHP being started when the module loads. As these two versions mismatch, the eAccelerator module refuses to load and blocks the whole startup of PHP 5.
Blocked startup of PHP 5, in turn, blocks Apache web server startup.
ResolutionInstall the new hsphere-php-accelerators package.
Note: For some time, this package is available only for private updates. Use the instructions below to perform a private update:
1. Decide which servers you will update considering the following:
- Only the servers where you’ve already performed a private update according to KB #8029 are affected.
- If you are not going to use eAccelerator along with PHP 5 on these servers, you can skip updating them .
3. When the update is finished, verify that the servers were updated successfully:
3.1 At the E.Manager -> Update -> Update Boxes screen, for each updated server, click the server name and read the updater log. Check the new version of the hsphere-php-accelerators and the overall update status at the end of the log.
3.2 On the updated servers, enable PHP 5 and eAccelerator as described at http://hsphere.parallels.com/docs/3.3/admin/html/web_server.html
and check that Apache web server on these servers is working.
3.3 (optional) Additionally, you may log in to the updated server(s) over SSH and issue the following command:
On Linux servers:
# rpm -qa | grep hsphere-php-accelerators
On FreeBSD servers:
# pkg_info | grep hsphere-php-accelerators
The output should contain the new versions only:
On Linux servers:
hsphere-php-accelerators-1-5On FreeBSD servers: