Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I think the question speaks for itself..

My concern is, we would be modifying some PHP files here and there. Will the accelerator(s) know that it needs to recompile modified files (i assume they would, common sense)?

However, i didnt find any documentation on this matter.

That said, would it help (speed up) installing PHP accelerators on development environment (say localhost)?

like image 429
mohdyusuf Avatar asked Dec 01 '11 06:12

mohdyusuf


People also ask

What does a PHP Accelerator do?

What are PHP Accelerators? A PHP accelerator is a PHP extension that improves the performance of PHP apps. These extensions work by caching opcode (or operation code) generated by PHP files. For this reason, PHP accelerators are also referred to as Opcode Caching.


1 Answers

Unless you are debugging your cacher, caching should be turned off for development.

like image 126
u.k Avatar answered Sep 28 '22 03:09

u.k