[TYPO3-team-core-v5] Problem with eAccelerator and a possible Solution

Tim Eilers tim.eilers at web.de
Thu Jul 31 19:00:04 CEST 2008


Hi Robert & Andreas,

Robert Lemke schrieb:
> Hi Andreas,
> 
> Am 30.07.2008 um 22:39 schrieb Extronaut:
> 
>> I read about your problems with eAccelerator and found following comment
>> at http://eaccelerator.net/ticket/229:
>>
>> In the previous version we removed the caching code for comments. Because
>> some people still need the comments for reflection stuff it's possible to
>> enabled that caching code again, run configure with the
>> --with-eaccelerator-doc-comment-inclusion switch. Make sure you clean 
>> your
>> cache directory after enabling this!
>>
>> I hope that helps.
> 
> Yes, that helps.
> 
> However, to really support eAcceleator, I need a way to let FLOW3 determine
> if that configure option was actually used and if not let it disable 
> eAccelerator.
> 
> Do you know a way to get that information?

I did some research today. I believe it is impossible to get that 
information only by the use of php. There is an API and in that api 
there is a method called eaccelerator_info. But in the returned array 
there is no information about that compile flag. I believe it is even 
nearly impossible with the use of a command shell.

I asked in the IRC channel of that project, but no one answered. We 
could ask in the mailing list or open a ticket and ask them. I could do 
that, but not now (no time).

What about an alternative? Isn't there a solution to do a little test 
when eaccelerator is enabled. For example check if a special doccomment 
is still there in a cached php script? Unfortunately i dont have any 
special idea how to do that...


Bye,
Timmy.

> 
> Cheers,
> robert


More information about the TYPO3-team-core-v5 mailing list