Welcome Guest, Not a member yet? Register   Sign In
APC?
#1

[eluser]Mark Krieger[/eluser]
We are using CodeIgniter for an application which we hope gets lots of customers, so we'd like to optimize the php execution: We have worked on performance for the mysql calls, now we'd like to see about making the php faster if possible, and someone suggested APC for 'compiled php' as a possible speed improvement.

We could install APC in the php we use, but when I read the APC docs I am confused and I don't understand how it would work with CI. Does APC for caching 'already compiled' php bytecode work by default once APC is installed? Or do we have to change code in the application or CI to make APC do byte-code caching for us? And does CI do anything like this already?

thanks,

Mark
#2

[eluser]phpserver[/eluser]
This will help :

http://stackoverflow.com/questions/27404...odeigniter

http://ellislab.com/forums/viewthread/147519/
#3

[eluser]Mark Krieger[/eluser]
I love your signature Smile

Those messages all imply that if I change the $system to be absolute, turn on APC in my php, APC will just automatically re-use compiled op-codes and php will run faster. Is that true?

Mark
#4

[eluser]phpserver[/eluser]
You can test if APC is working for you using:

Code:
<?php
    echo("<pre>");
    print_r(apc_cache_info());
    echo("</pre>");
?&gt;

For detailed info on what you are looking for i urge you to visit APC Ref.

AboutThe signature, Undecided ,thanks.




Theme © iAndrew 2016 - Forum software by © MyBB