Caching / Optimising / Pre-Compiling Existing PHP Application We have a working PHP application (works in both PHP4 and PHP5). We have remote access to a working ubuntu linux server that was setup by a previous programmer that runs this application. The server has php4 installed (possibly php5 also), apache2 and mysql. We have one complex function in a PHP application that takes 3 seconds to execute (and a page to display the execution time). We want to investigate whether a caching/optimising tool (precompiler for php) will make this function run faster. We have no preference at this point on the type of open-source cache/accelerator used (APC ([login to view URL]), eAccelerator ([login to view URL]), Roadsend ([login to view URL]), or any other you recommend. We expect you to be able to take root login details to our linux server, analyse the current server configuration, install anything and everything you need, and get our PHP server running with one of these caching/optimising tools. (You need to be able to prove that the caching tool is running somehow) We then need you to write a simple one page report (just the results, nothing fancy) showing us the differences in execution time for the function with the caching tool installed versus its running time when NOT installed. (This will simply mean running our one page that shows the execution time of the function, with the caching tool turned ON and OFF and record the results).
## Deliverables
1) Our server modified to include an open source PHP caching/precompiling tool (such as those mentioned above) 2) Proof that the caching/precompiling tool is installed and working 3) A report showing the differences from the caching/precompiling tool turned ON versus OFF for the one complex function our PHP application
## Platform
Ubuntu Linux server ...remote access will be provided only with root access. Currently running apache2, mysql 4.0.24 and php4/5