{"id":1120,"date":"2009-12-14T01:57:37","date_gmt":"2009-12-14T06:57:37","guid":{"rendered":"http:\/\/g33kinfo.com\/info\/?p=1120"},"modified":"2009-12-14T01:57:37","modified_gmt":"2009-12-14T06:57:37","slug":"install-eaccelerator-on-php-5-3","status":"publish","type":"post","link":"https:\/\/g33kinfo.com\/info\/install-eaccelerator-on-php-5-3\/","title":{"rendered":"Install eAccelerator on PHP 5.3"},"content":{"rendered":"<p>To install eAccelerator, use the following command sequence;<br \/>\n<code><br \/>\nwget http:\/\/bart.eaccelerator.net\/source\/0.9.6\/eaccelerator-0.9.6-rc1.tar.bz2<br \/>\ntar -xjf eaccelerator-0.9.6-rc1.tar.bz2 -C \/usr\/local\/<br \/>\ncd \/usr\/local\/eaccelerator-0.9.6-rc1\/<br \/>\nphpize<br \/>\n.\/configure<br \/>\nmake && make install<br \/>\n<\/code><\/p>\n<p>To install the shared extensions:<br \/>\n\/usr\/local\/lib\/php\/extensions\/no-debug-non-zts-20090626\/<\/p>\n<p>To search for the absolute path of the php.ini file<br \/>\n<code><br \/>\nphp -i | grep ini<br \/>\nConfiguration File (php.ini) Path => \/usr\/local\/lib<br \/>\nLoaded Configuration File => \/usr\/local\/lib\/php.ini<br \/>\n<\/code><\/p>\n<p>Then edit php.ini file<\/p>\n<p><code><br \/>\nvi \/usr\/local\/lib\/php.ini<br \/>\n;<br \/>\n; make sure this option is uncommented<br \/>\n; extension_dir = \".\/\"   < <<\n\n; so it looks like this:\n; \nextension_dir = \"\/\"\n\n;\n; Then add the configuration like :\n;\nzend_extension=\"\/usr\/local\/lib\/php\/extensions\/no-debug-non-zts-20090626\/eaccelerator.so\"\neaccelerator.shm_size=\"16\"\neaccelerator.cache_dir=\"\/tmp\/eaccelerator\"\neaccelerator.enable=\"1\"\neaccelerator.optimizer=\"1\"\neaccelerator.check_mtime=\"1\"\neaccelerator.debug=\"0\"\neaccelerator.filter=\"\"\neaccelerator.shm_max=\"0\"\neaccelerator.shm_ttl=\"0\"\neaccelerator.shm_prune_period=\"0\"\neaccelerator.shm_only=\"1\"\neaccelerator.compress=\"1\"\neaccelerator.compress_level=\"9\"\n<\/code><\/p>\n<p>Make the cache directory<br \/>\n<\/code><code><br \/>\nmkdir \/tmp\/eaccelerator<br \/>\nchmod 777 \/tmp\/eaccelerator\/<br \/>\n<\/code><\/p>\n<p>Restart Apache<br \/>\n<code><br \/>\n\/etc\/init.d\/apache restart<br \/>\n<\/code><br \/>\nor<br \/>\n<code><br \/>\nservice apache restart<br \/>\n<\/code><br \/>\nor<br \/>\n<code><br \/>\n[ root: ~ ]# \/usr\/local\/apache2\/bin\/apachectl stop<br \/>\n[ root: ~ ]# \/usr\/local\/apache2\/bin\/apachectl start<br \/>\n<\/code><\/p>\n<p>Testink<br \/>\n<code><br \/>\nphp -v<br \/>\nPHP 5.3.0 (cli) (built: Nov  1 2009 22:38:48)<br \/>\nCopyright (c) 1997-2009 The PHP Group<br \/>\nZend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies<br \/>\n with eAccelerator v0.9.6-rc1, Copyright (c) 2004-2007 eAccelerator, by eAccelerator<br \/>\n<\/code><br \/>\nor you can use phpinfo.php and check this out in web browser. Create the php.info file in the account directory or www\/public_html root folder using vi\/m or nano<\/p>\n<p><code><br \/>\nvi \/usr\/local\/apache2\/htdocs\/info.php<\/p>\n<p>#<br \/>\n# Add this line:<br \/>\n#<br \/>\n< ?php\n phpinfo();\n?><br \/>\n<\/code><\/p>\n<p>you should see the eAccelerator info<br \/>\n&#8220;with eAccelerator v0.9.6-rc1, Copyright (c) 2004-2007 eAccelerator, by eAccelerator&#8221; in the phpinfo.php under the Zend extension section.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To install eAccelerator, use the following command sequence; wget http:\/\/bart.eaccelerator.net\/source\/0.9.6\/eaccelerator-0.9.6-rc1.tar.bz2 tar -xjf eaccelerator-0.9.6-rc1.tar.bz2 -C \/usr\/local\/ cd \/usr\/local\/eaccelerator-0.9.6-rc1\/ phpize .\/configure make &#038;&#038; make install To install the shared extensions: \/usr\/local\/lib\/php\/extensions\/no-debug-non-zts-20090626\/ To search for the absolute path of the php.ini file php -i | grep ini Configuration File (php.ini) Path => \/usr\/local\/lib Loaded Configuration File => \/usr\/local\/lib\/php.ini&#8230; <\/p>\n<div class=\"read-more navbutton\"><a href=\"https:\/\/g33kinfo.com\/info\/install-eaccelerator-on-php-5-3\/\">Read More<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-1120","post","type-post","status-publish","format-standard","hentry","category-info"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Install eAccelerator on PHP 5.3 - Linux Shtuff<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/g33kinfo.com\/info\/install-eaccelerator-on-php-5-3\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install eAccelerator on PHP 5.3 - Linux Shtuff\" \/>\n<meta property=\"og:description\" content=\"To install eAccelerator, use the following command sequence; wget http:\/\/bart.eaccelerator.net\/source\/0.9.6\/eaccelerator-0.9.6-rc1.tar.bz2 tar -xjf eaccelerator-0.9.6-rc1.tar.bz2 -C \/usr\/local\/ cd \/usr\/local\/eaccelerator-0.9.6-rc1\/ phpize .\/configure make &amp;&amp; make install To install the shared extensions: \/usr\/local\/lib\/php\/extensions\/no-debug-non-zts-20090626\/ To search for the absolute path of the php.ini file php -i | grep ini Configuration File (php.ini) Path =&gt; \/usr\/local\/lib Loaded Configuration File =&gt; \/usr\/local\/lib\/php.ini... Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/g33kinfo.com\/info\/install-eaccelerator-on-php-5-3\/\" \/>\n<meta property=\"og:site_name\" content=\"Linux Shtuff\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:author\" content=\"https:\/\/fb.me\/g33kinf0\" \/>\n<meta property=\"article:published_time\" content=\"2009-12-14T06:57:37+00:00\" \/>\n<meta name=\"author\" content=\"g33kadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/drsinger1111\" \/>\n<meta name=\"twitter:site\" content=\"@drsinger1111\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/install-eaccelerator-on-php-5-3\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/install-eaccelerator-on-php-5-3\\\/\"},\"author\":{\"name\":\"g33kadmin\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"headline\":\"Install eAccelerator on PHP 5.3\",\"datePublished\":\"2009-12-14T06:57:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/install-eaccelerator-on-php-5-3\\\/\"},\"wordCount\":106,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"articleSection\":[\"General Info\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/install-eaccelerator-on-php-5-3\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/install-eaccelerator-on-php-5-3\\\/\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/install-eaccelerator-on-php-5-3\\\/\",\"name\":\"Install eAccelerator on PHP 5.3 - Linux Shtuff\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\"},\"datePublished\":\"2009-12-14T06:57:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/install-eaccelerator-on-php-5-3\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/g33kinfo.com\\\/info\\\/install-eaccelerator-on-php-5-3\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/install-eaccelerator-on-php-5-3\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install eAccelerator on PHP 5.3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#website\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/\",\"name\":\"Linux Shtuff\",\"description\":\"Because I have CRS Syndrome...\",\"publisher\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/#\\\/schema\\\/person\\\/c022e4c40b13ea1b678e6f020756f547\",\"name\":\"g33kadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"url\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"contentUrl\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\",\"width\":512,\"height\":512,\"caption\":\"g33kadmin\"},\"logo\":{\"@id\":\"https:\\\/\\\/g33kinfo.com\\\/info\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/minion-researchA.gif\"},\"description\":\"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\\\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....\",\"sameAs\":[\"https:\\\/\\\/thelinuxreport.com\",\"https:\\\/\\\/fb.me\\\/g33kinf0\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/drsinger1111\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install eAccelerator on PHP 5.3 - Linux Shtuff","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:\/\/g33kinfo.com\/info\/install-eaccelerator-on-php-5-3\/","og_locale":"en_US","og_type":"article","og_title":"Install eAccelerator on PHP 5.3 - Linux Shtuff","og_description":"To install eAccelerator, use the following command sequence; wget http:\/\/bart.eaccelerator.net\/source\/0.9.6\/eaccelerator-0.9.6-rc1.tar.bz2 tar -xjf eaccelerator-0.9.6-rc1.tar.bz2 -C \/usr\/local\/ cd \/usr\/local\/eaccelerator-0.9.6-rc1\/ phpize .\/configure make && make install To install the shared extensions: \/usr\/local\/lib\/php\/extensions\/no-debug-non-zts-20090626\/ To search for the absolute path of the php.ini file php -i | grep ini Configuration File (php.ini) Path => \/usr\/local\/lib Loaded Configuration File => \/usr\/local\/lib\/php.ini... Read More","og_url":"https:\/\/g33kinfo.com\/info\/install-eaccelerator-on-php-5-3\/","og_site_name":"Linux Shtuff","article_publisher":"https:\/\/fb.me\/g33kinf0","article_author":"https:\/\/fb.me\/g33kinf0","article_published_time":"2009-12-14T06:57:37+00:00","author":"g33kadmin","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/drsinger1111","twitter_site":"@drsinger1111","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/g33kinfo.com\/info\/install-eaccelerator-on-php-5-3\/#article","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/install-eaccelerator-on-php-5-3\/"},"author":{"name":"g33kadmin","@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"headline":"Install eAccelerator on PHP 5.3","datePublished":"2009-12-14T06:57:37+00:00","mainEntityOfPage":{"@id":"https:\/\/g33kinfo.com\/info\/install-eaccelerator-on-php-5-3\/"},"wordCount":106,"commentCount":0,"publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"articleSection":["General Info"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/g33kinfo.com\/info\/install-eaccelerator-on-php-5-3\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/g33kinfo.com\/info\/install-eaccelerator-on-php-5-3\/","url":"https:\/\/g33kinfo.com\/info\/install-eaccelerator-on-php-5-3\/","name":"Install eAccelerator on PHP 5.3 - Linux Shtuff","isPartOf":{"@id":"https:\/\/g33kinfo.com\/info\/#website"},"datePublished":"2009-12-14T06:57:37+00:00","breadcrumb":{"@id":"https:\/\/g33kinfo.com\/info\/install-eaccelerator-on-php-5-3\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/g33kinfo.com\/info\/install-eaccelerator-on-php-5-3\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/g33kinfo.com\/info\/install-eaccelerator-on-php-5-3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/g33kinfo.com\/info\/"},{"@type":"ListItem","position":2,"name":"Install eAccelerator on PHP 5.3"}]},{"@type":"WebSite","@id":"https:\/\/g33kinfo.com\/info\/#website","url":"https:\/\/g33kinfo.com\/info\/","name":"Linux Shtuff","description":"Because I have CRS Syndrome...","publisher":{"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/g33kinfo.com\/info\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/g33kinfo.com\/info\/#\/schema\/person\/c022e4c40b13ea1b678e6f020756f547","name":"g33kadmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","url":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","contentUrl":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif","width":512,"height":512,"caption":"g33kadmin"},"logo":{"@id":"https:\/\/g33kinfo.com\/info\/wp-content\/uploads\/2022\/07\/minion-researchA.gif"},"description":"I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com\/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....","sameAs":["https:\/\/thelinuxreport.com","https:\/\/fb.me\/g33kinf0","https:\/\/x.com\/https:\/\/twitter.com\/drsinger1111"]}]}},"_links":{"self":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/1120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/comments?post=1120"}],"version-history":[{"count":0,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/posts\/1120\/revisions"}],"wp:attachment":[{"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/media?parent=1120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/categories?post=1120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/g33kinfo.com\/info\/wp-json\/wp\/v2\/tags?post=1120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}