The only problem is that this still requires you to compile the session extension. I am looking into ways of working around that, since it's not really used for anything except re-direction.
You can't modify your code, but you can modify your php.ini?
OK.
PHP has a very nice feature where you can automatically prepend (and append, if you want) a file to all requests. Create a single file, modify your php.ini, done.
I am not telling you that eaccelerator isn't amazing. I am showing you how to get around problems you may run into if you end up using a different op-code cache.
Comments
> it has session handler support so sessions are done completely in memory.
It is unbelievably easy to build session support for other op-code caches. Here is my code for APC:
The only problem is that this still requires you to compile the session extension. I am looking into ways of working around that, since it's not really used for anything except re-direction.How exactly would you use this with third party code executing on the server that cannot be modified?
eaccelerator's session handler (was) simply built in and requires no modification, just add the one-word setting to your php.ini
You can't modify your code, but you can modify your php.ini?
OK.
PHP has a very nice feature where you can automatically prepend (and append, if you want) a file to all requests. Create a single file, modify your php.ini, done.
I am not telling you that eaccelerator isn't amazing. I am showing you how to get around problems you may run into if you end up using a different op-code cache.