Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

APC not recommended for production?

I have started having problems with my VPS in the way that it would faill to serve the pages on all the websites. It just showed a blank page, or offered to download the php file ( luckily the code was not in the download file :) ). The server was still running, but this seemed to be a problem with PHP, since i could login into WHM.

If i did a apache restart, the sites would work again.

After some talks with the server support they told me this is a problem with the APC extension witch they considered to be old and not recommended for production servers. So they removed it for now, to see if the same kind of fails would continue to appear.

I haven't read anywhere that APC could have some problems or that its not always recommended to use, quite the contrary ... everywhere people are saying to always use it.

The APC extension was installed ssh and is the latest version.

Edit: They also dont recomend MemCache and say that a more reliable extension would be eAccelerator

like image 280
Gabriel Solomon Avatar asked Dec 12 '25 20:12

Gabriel Solomon


1 Answers

Um APC is current tech and almost a must for any performant PHP site.

Not only that but it will ship as standard in PHP 6 (rather than being an optional module like it is now).

I don't know what your issue is/was but it's not APC being outdated or old tech.

like image 96
cletus Avatar answered Dec 15 '25 09:12

cletus



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!