prestamax Posted January 7, 2014 Share Posted January 7, 2014 (edited) If I enable APC cache I am getting the message "Update successful" even if the APC module isn't installed on the server. If memcache isn't installed, I am getting a message that it is necessary to install memcache in order to activate this function. Shouldn't there be such a check for APC too? Edited January 9, 2014 by prestamax (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted January 7, 2014 Share Posted January 7, 2014 Did you report this to the forge? Link to comment Share on other sites More sharing options...
prestamax Posted January 8, 2014 Author Share Posted January 8, 2014 No I haven't reported it anywhere else than here. The bug tracker doesn't have a 1.6 section yet or what do you mean with "forge"? Link to comment Share on other sites More sharing options...
bellini13 Posted January 8, 2014 Share Posted January 8, 2014 what version of PS v1.6 are you using? in both 1.6.0.1 and 1.6.0.2, they both check if the apc extension is loaded. did you confirm in php_info that apc is in fact not loaded? Link to comment Share on other sites More sharing options...
Xavier du Tertre Posted January 8, 2014 Share Posted January 8, 2014 Did you report this to the forge? The Forge is not open yet for 1.6 Link to comment Share on other sites More sharing options...
prestamax Posted January 8, 2014 Author Share Posted January 8, 2014 (edited) what version of PS v1.6 are you using? in both 1.6.0.1 and 1.6.0.2, they both check if the apc extension is loaded. did you confirm in php_info that apc is in fact not loaded? I am using 1.6.0.2 and APC is not loaded. I uploaded apc.php from the apc package to the root I am getting the message "No cache info available. APC does not appear to be running." Still I am getting the message "Update successful" if I activate apc cache. The same with xcache ... it is not installed but I am getting the message "update successful". It seems that only memcache is being checked for availability. Edited January 8, 2014 by prestamax (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted January 8, 2014 Share Posted January 8, 2014 You can get that message if apc is running, but you are not running a correct php interpreter. Is apc loaded in your php info file? Link to comment Share on other sites More sharing options...
prestamax Posted January 8, 2014 Author Share Posted January 8, 2014 apc doesn't appear anywhere in the phpinfo file. We have a root server and didn't install APC because we thought a ssd drive would be sufficient. Link to comment Share on other sites More sharing options...
Dh42 Posted January 8, 2014 Share Posted January 8, 2014 Ahh ok. Just to let you know, a ssd drive is many times slower than using APC. Link to comment Share on other sites More sharing options...
bellini13 Posted January 8, 2014 Share Posted January 8, 2014 you could try to create a very simple php file with the following content and see what happens to confirm the existence of the extension. if (extension_loaded('apc')) echo "loaded"; else echo "not loaded"; Link to comment Share on other sites More sharing options...
prestamax Posted January 8, 2014 Author Share Posted January 8, 2014 you could try to create a very simple php file with the following content and see what happens to confirm the existence of the extension. if (extension_loaded('apc')) echo "loaded"; else echo "not loaded"; not loaded Link to comment Share on other sites More sharing options...
bellini13 Posted January 9, 2014 Share Posted January 9, 2014 one other thought I had. Did you actually enable cache? Or did you just change the cache engine being used? 1 Link to comment Share on other sites More sharing options...
prestamax Posted January 9, 2014 Author Share Posted January 9, 2014 (edited) bellini, I have to apology ... you are right. The update message appears if changing the caching method. If I activate cache I am getting the error notice. My fault ... sorry for the confusion. Edited January 9, 2014 by prestamax (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts