Hey guys,
Running fcgid here with eaccelerator turned on as default php handler. It's running perfectly so far but we've found a minor bug in the case when a customer wants to manipulate php settings.
Customer creates (or we do for him) a wrapper file and gets a copy of our php.ini which he places in the same directory. He modifies his .htaccess file to make use of the wrapper file when calling .php files.
All good there - but IF the php.ini has the eaccelerator extension in it, we get a segfault and it spits our 3 core files in the directory where the wrapper file resides. I'm "guessing" from what I've googled that I'm trying to run PHP threaded because of mpm-worker but Eaccelerator doesn't support threading and therefor segfaults.
Only solution to use prefork instead? Loaded it up on a testserver and it seems to do well and no segfaults when running php files with custom php.ini. Also read that XCache is thread safe and could be used instead of eaccelerator ( maybe a choice for easyapache? ).
The custom php.ini probably has nothing to do with it, weird thing is that I can't find the core files when running without custom php.ini, they aren't among the user's files nor where the php5 binary resides.
Discuss![]()


LinkBack URL
About LinkBacks
Reply With Quote