making bbPress (and WordPress) work better!

how to use eAccelerator with PHP 5.3.2 and open_basedir

If you are getting an error like this after upgrading your PHP to 5.3.2 while using eAccelerator 0.9.6

open_basedir restriction. in Unknown on line 0

Then you have to re-compile eAccelerator with this option disabled:


UPDATE: ignore my suggestion below for the disabled features – sadly the user cache is completely removed in eAccelerator 0.9.6 for reasons I don’t understand, except maybe their complexity against PHP 5.3

While you are at it you might as well turn on some of the other nifty features that are turned off by default:


And don’t forget to lock down the control panel for eAccelerator if you are in a shared environment where others can upload PHP. This should be in your php.ini settings:


(obviously change the path to your control.php file)

also recommended once you recompile with “eaccelerator-sessions” in your php.ini


Which will speed up session data for PHP by using common memory instead of disk.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s