Dh42 Posted July 7, 2013 Share Posted July 7, 2013 I know shop speed is a hot button issue, I wrote a tutorial on how to use APC to speed up your Prestashop, it is here. http://blog.dh42.com/apc-speed-prestashop/ 5 Link to comment Share on other sites More sharing options...
parsifal Posted July 8, 2013 Share Posted July 8, 2013 (edited) Nice, thank you Dh42! IIRC, the PHP project leaders were supposedly looking into making APC a core component of PHP, starting with version 6. Is this still true? If so, in my book this means that APC would easily become the PHP accelerator of choice... Edited July 8, 2013 by parsifal (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted July 8, 2013 Author Share Posted July 8, 2013 Actually they were, but I read the other day that it was moved up to either version 5.5 or 5.6, I cannot remember which. Link to comment Share on other sites More sharing options...
parsifal Posted July 15, 2013 Share Posted July 15, 2013 It seems that they went with Zend Optimiser+ instead, starting with the recently released PHP 5.5: http://php.net/manual/en/migration55.new-features.php Oh well, I can only hope that PrestaShop keeps up with this in its next releases. Anyways, thanks again for your comprehensive guide. I'm seriously thinking of moving from memcached to APC because of it! Link to comment Share on other sites More sharing options...
Dh42 Posted July 15, 2013 Author Share Posted July 15, 2013 Yeah, I saw that like 2 days after I wrote the article. But the good think about it is that most vps accounts do not run the bleeding edge of php software. So it will be another year at least until it is main stream. About the prestashop keeping up with it, it really does not matter if they keep up with it or not. Tomer pointed out to me that in 1.5 there is an option "turn it on" or "enable it" but the thing is, it does not have to be. Basically any php application will utilize it if it is installed on the server. I currently have about 10 shops that from 14. to 1.5 deployed with it and have not had a problem. Link to comment Share on other sites More sharing options...
tuk66 Posted July 16, 2013 Share Posted July 16, 2013 PrestaShop heavily depends on database. Database optimization would be the first thing I will look. My 2 cents. Link to comment Share on other sites More sharing options...
Dh42 Posted July 16, 2013 Author Share Posted July 16, 2013 True, it does. I am trying right now to see what queries are not needed, like the front of the queries the admin tabs for every user. I am also looking at how to speed them up as well. But this still works to speed up a shop, did you look at the file load times in the article and the memory usage. Link to comment Share on other sites More sharing options...
ksv Posted November 20, 2014 Share Posted November 20, 2014 Do we need to delete APC.PHP on public_html after finish all? Or leave it here with 0644 permission is better to manage and view? Link to comment Share on other sites More sharing options...
Dh42 Posted November 20, 2014 Author Share Posted November 20, 2014 I generally leave it, but you can name it something else too, just so you can access it an see the cache fragmentation. Link to comment Share on other sites More sharing options...
Generaal Posted December 8, 2014 Share Posted December 8, 2014 (edited) Hello Dh42, I run PHP version 5.3.28 and Apache 2, Prestashop version 1.5.4.1 Have follow your instal instructions, but there wil nothing come up, (php.info). I have run the instal instructions again, and they tell me that all the things are installed.. The only thing I have see, that there are not making the directory php.d and the file apc.ini. I have these added manually and type the ini file that I can see on your instructions..but nothing will coming up.. Are there some changes in the last version of the APC or where can I find the installed files back? Thnx in Advance, Generaal Edited December 8, 2014 by Generaal (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts