{"id":2763,"date":"2021-10-07T12:02:44","date_gmt":"2021-10-07T12:02:44","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=2763"},"modified":"2021-10-07T12:02:44","modified_gmt":"2021-10-07T12:02:44","slug":"how-to-install-apc-on-linux-server","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/how-to-install-apc-on-linux-server\/","title":{"rendered":"How to Install APC on Linux Server?"},"content":{"rendered":"<p>The Alternative PHP Cache (APC) is well known free and open opcode cache for PHP. APC plays an important goal in providing a free, open, and robust framework for caching and optimizing PHP intermediate code.<\/p>\n<p>From pecl you can download latest APC.<\/p>\n<p><strong># cd \/usr\/local\/src\/<br \/>\n# wget http:\/\/pecl.php.net\/get\/APC<\/strong><\/p>\n<p>After Extract the downloaded APC which will be in zip format and compile it.<\/p>\n<p><strong># tar -xvf APC<br \/>\n# cd APC-*<br \/>\n# phpize<br \/>\n# .\/configure<br \/>\n# make &amp;&amp; make install<\/strong><\/p>\n<p>Now, on your server you will have to enable the extension in php.ini . The command as given below will give you the exact server\u2019s php.ini<\/p>\n<p><strong># php -i | grep php.ini<\/strong><\/p>\n<p>Add\u00a0<b>\u201cextension=apc.so\u201d<\/b>\u00a0&amp; restart apache.<\/p>\n<p>Use the command below, to check if it is compiled properly OR create a phpinfo &amp; check the output.<\/p>\n<p><strong># php -i | grep apc<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Alternative PHP Cache (APC) is well known free and open opcode cache for PHP. APC plays an important goal in providing a free, open, and robust framework for caching and optimizing PHP intermediate code. From pecl you can download latest APC. # cd \/usr\/local\/src\/ # wget http:\/\/pecl.php.net\/get\/APC After Extract the downloaded APC which will [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-2763","post","type-post","status-publish","format-standard","hentry","category-linux-servers"],"_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=2763"}],"version-history":[{"count":1,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2763\/revisions"}],"predecessor-version":[{"id":2764,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2763\/revisions\/2764"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=2763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=2763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=2763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}