{"id":375,"date":"2009-06-04T22:54:26","date_gmt":"2009-06-04T15:54:26","guid":{"rendered":"http:\/\/adityo.blog.binusian.org\/?p=375"},"modified":"2009-06-04T23:00:38","modified_gmt":"2009-06-04T16:00:38","slug":"adding-xcache-support-to-php5-ubuntudebian","status":"publish","type":"post","link":"https:\/\/adityo.blog.binusian.org\/?p=375","title":{"rendered":"Adding XCache support to PHP5 (Ubuntu\/Debian)"},"content":{"rendered":"<h2><strong>What is Xcache ?<\/strong><\/h2>\n<p><span class=\"searchword1\">XCache<\/span> is a fast, stable <a class=\"ext-link\" rel=\"nofollow\" href=\"http:\/\/www.php.net\/\"><span class=\"icon\"> <\/span>PHP<\/a> opcode cacher that has been tested and is now running on production servers under high load. It is tested (on linux) and supported on all of the latest <a class=\"ext-link\" rel=\"nofollow\" href=\"http:\/\/www.php.net\/\"><span class=\"icon\"> <\/span>PHP<\/a> cvs branches such as PHP_4_3 PHP_4_4 <del><\/del>PHP_5_1 PHP_5_2 HEAD(6.x).<\/p>\n<p>Luckily xcache module are availabe on ubuntu apt-get (php5-xcache version\u00a0 1.2.1-3 ), just run this command<\/p>\n<p># apt-get install php5-xcache<br \/>\nafter it is finished just type dpkg-l to see the modules<\/p>\n<p># dpkg -l | grep xcach<br \/>\nii\u00a0 php5-xcache\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1.2.1-3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Fast, stable PHP opcode cacher<\/p>\n<p>And then restart your apache<\/p>\n<p># \/etc\/init.d\/apache2 restart<br \/>\n* Restarting web server apache2<\/p>\n<p>and check\u00a0 your php is it installed with xcache or not<\/p>\n<p># php -v<br \/>\nPHP 5.2.4-2ubuntu5.6 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 17 2009 14:31:37)<br \/>\nCopyright (c) 1997-2007 The PHP Group<br \/>\nZend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies<br \/>\nwith XCache v1.2.1, Copyright (c) 2005-2007, by mOo<\/p>\n<p><a href=\"http:\/\/adityo.blog.binusian.org\/files\/2009\/06\/xcache2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-377 alignleft\" title=\"xcache2\" src=\"http:\/\/adityo.blog.binusian.org\/files\/2009\/06\/xcache2.png\" alt=\"xcache2\" width=\"519\" height=\"69\" srcset=\"https:\/\/adityo.blog.binusian.org\/files\/2009\/06\/xcache2.png 601w, https:\/\/adityo.blog.binusian.org\/files\/2009\/06\/xcache2-300x39.png 300w\" sizes=\"auto, (max-width: 519px) 100vw, 519px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/adityo.blog.binusian.org\/files\/2009\/06\/xcache1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-376\" title=\"xcache1\" src=\"http:\/\/adityo.blog.binusian.org\/files\/2009\/06\/xcache1.png\" alt=\"xcache1\" width=\"500\" height=\"535\" srcset=\"https:\/\/adityo.blog.binusian.org\/files\/2009\/06\/xcache1.png 500w, https:\/\/adityo.blog.binusian.org\/files\/2009\/06\/xcache1-280x300.png 280w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Xcache ? XCache is a fast, stable PHP opcode cacher that has been tested and is now running on production servers under high load. It is tested (on linux) and supported on all of the latest PHP cvs branches such as PHP_4_3 PHP_4_4 PHP_5_1 PHP_5_2 HEAD(6.x). Luckily xcache module are availabe on ubuntu [&hellip;]<\/p>\n","protected":false},"author":386,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[320,2004],"tags":[2005],"class_list":["post-375","post","type-post","status-publish","format-standard","hentry","category-ubuntu","category-xcache","tag-xcache-on-ubuntu"],"_links":{"self":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/users\/386"}],"replies":[{"embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=375"}],"version-history":[{"count":5,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/375\/revisions"}],"predecessor-version":[{"id":382,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/375\/revisions\/382"}],"wp:attachment":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}