{"id":319,"date":"2012-10-12T15:35:13","date_gmt":"2012-10-12T15:35:13","guid":{"rendered":"http:\/\/www.milesweb.com\/hosting-faqs\/?p=319"},"modified":"2022-02-22T16:09:43","modified_gmt":"2022-02-22T10:39:43","slug":"how-to-install-apc-on-your-linux-server","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/","title":{"rendered":"How to Install APC on Linux Server?"},"content":{"rendered":"<p>The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. It&#8217;s goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code.<\/p>\n<p>Download latest APC from pecl.<\/p>\n<p><strong> # cd \/usr\/local\/src\/<br \/>\n# wget http:\/\/pecl.php.net\/get\/APC <\/strong><\/p>\n<p>Extract the downloaded APC 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, you will have to enable the extension in php.ini on your server. Below command will give you the exact server&#8217;s php.ini<\/p>\n<p><strong> # php -i | grep php.ini<\/strong><\/p>\n<p>Add <b>&#8220;extension=apc.so&#8221;<\/b> &amp; restart apache.<\/p>\n<p>To check if it is compiled properly, use command below OR create a <a title=\"phpinfo\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-increase-php-memory-limit-using-htaccess\/\" target=\"_blank\" rel=\"noopener\">phpinfo<\/a> &amp; check the output.<\/p>\n<p><strong># php -i | grep apc<\/strong><\/p>\n<p>You can install APC on our <a title=\"VPS hosting\" href=\"https:\/\/www.milesweb.in\/hosting\/vps-hosting\/\" target=\"_blank\" rel=\"noopener\">VPS Hosting<\/a>\u00a0and\u00a0<a title=\"dedicated servers\" href=\"https:\/\/www.milesweb.in\/hosting\/dedicated-servers\/\" target=\"_blank\" rel=\"noopener\">Dedicated Servers<\/a>.<\/p>\n<p><span style=\"border-radius: 2px; text-indent: 20px; width: auto; padding: 0px 4px 0px 0px; text-align: center; font: bold 11px\/20px 'Helvetica Neue',Helvetica,sans-serif; color: #ffffff; background: #bd081c no-repeat scroll 3px 50% \/ 14px 14px; position: absolute; opacity: 1; z-index: 8675309; display: none; cursor: pointer;\">Save<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. It&#8217;s goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code. Download latest APC from pecl. # cd \/usr\/local\/src\/ # wget http:\/\/pecl.php.net\/get\/APC Extract the downloaded APC and compile it. # tar -xvf APC # [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,22],"tags":[],"class_list":["post-319","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-dedicated-server-faq","category-vps-faq"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install APC on Linux Server?<\/title>\n<meta name=\"description\" content=\"The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. It\u2019s goal is to provide a free, open, and robust framework for caching.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install APC on Linux Server?\" \/>\n<meta property=\"og:description\" content=\"The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. It\u2019s goal is to provide a free, open, and robust framework for caching.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2012-10-12T15:35:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-22T10:39:43+00:00\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/\"},\"author\":{\"name\":\"Admin\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\"},\"headline\":\"How to Install APC on Linux Server?\",\"datePublished\":\"2012-10-12T15:35:13+00:00\",\"dateModified\":\"2022-02-22T10:39:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/\"},\"wordCount\":146,\"commentCount\":0,\"articleSection\":[\"Dedicated Server FAQ\",\"VPS FAQ\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/\",\"name\":\"How to Install APC on Linux Server?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"datePublished\":\"2012-10-12T15:35:13+00:00\",\"dateModified\":\"2022-02-22T10:39:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\"},\"description\":\"The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. It\u2019s goal is to provide a free, open, and robust framework for caching.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install APC on Linux Server?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png\",\"caption\":\"Admin\"},\"description\":\"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install APC on Linux Server?","description":"The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. It\u2019s goal is to provide a free, open, and robust framework for caching.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/","og_locale":"en_US","og_type":"article","og_title":"How to Install APC on Linux Server?","og_description":"The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. It\u2019s goal is to provide a free, open, and robust framework for caching.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2012-10-12T15:35:13+00:00","article_modified_time":"2022-02-22T10:39:43+00:00","author":"Admin","twitter_misc":{"Written by":"Admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/"},"author":{"name":"Admin","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69"},"headline":"How to Install APC on Linux Server?","datePublished":"2012-10-12T15:35:13+00:00","dateModified":"2022-02-22T10:39:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/"},"wordCount":146,"commentCount":0,"articleSection":["Dedicated Server FAQ","VPS FAQ"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/","name":"How to Install APC on Linux Server?","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"datePublished":"2012-10-12T15:35:13+00:00","dateModified":"2022-02-22T10:39:43+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69"},"description":"The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. It\u2019s goal is to provide a free, open, and robust framework for caching.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-apc-on-your-linux-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Install APC on Linux Server?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png","caption":"Admin"},"description":"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.","url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=319"}],"version-history":[{"count":14,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/319\/revisions"}],"predecessor-version":[{"id":16555,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/319\/revisions\/16555"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}