Should I use the PHP accelerator (eAccelerator, APC, etc.) in the development environment?

I think the question speaks for itself.

My concern is that we will modify some PHP files here and there. Will the accelerator know that it needs to recompile the modified files (I assume that they will, common sense)?

However, I did not find any documentation on this.

Nevertheless, would it help (speed up) the installation of PHP accelerators on a development environment (say, localhost)?

+5
source share
3 answers

If you are not debugging your cache, caching should be disabled for development.

+6
source

, .

, ..

. , , , .

+1

Accelerators check if files have been modified (well, only I have experience with APC, but I suspect that the others will be similar), so you should not have problems using the accelerator in the development environment (although the profit will be minimal, since if the files are constantly changing, the accelerator will have to constantly re-read all the code).

0
source

All Articles