<div dir="ltr"><div><div><div><div><div><div><div><div>Dear All<br></div>I am almost blocked regarding this issue.<br><br></div>It looks to me anything I want to install that invoves PECL , my machine does not work properly.<br>
</div>My experience with APC was so bad, finally I just left it off.<br><br></div>Regarding Memcache support for Drupal 7, Just to make sure that there is no dependency issues, I tried to build the required stuff.<br><br>
</div>I built libevent, memcached. It went smooth. I was able to start memcached service properly.<br><br></div>Next, I wanted to build php-pecl-memcache. Here is uncovered certain issues.<br></div>I downloaded php-pecl-memcache 2.2.7.<br>
</div><br><div><div> Found instructions at <a href="http://install_php_memcache.onlinephpfunctions.com/">http://install_php_memcache.onlinephpfunctions.com/</a> to build.<br><br></div><div>When I execute phpize command I get<br>
<br><b>Can&#39;t find PHP headers in /usr/include/php<br>The php-devel package is required for use of this command.<br></b><br></div><div>I tried to install php-devel package. It gives below error<br><br><b>--&gt; Finished Dependency Resolution<br>
Error: Package: php-gd-5.4.13-1.el6.remi.x86_64 (remi)<br>           Requires: libjpeg.so.62(LIBJPEG_6.2)(64bit)<br> You could try using --skip-broken to work around the problem<br></b><br></div><div>But libjpeg is already installed.<br>
</div><div><b>[root@ip-173-201-189-43 memcache-2.2.7]#<br>[root@ip-173-201-189-43 memcache-2.2.7]# rpm -qa | grep libjpeg<br>libjpeg-6b-46.el6.x86_64<br>[root@ip-173-201-189-43 memcache-2.2.7]#<br></b><br></div><div>Now I am clueless how can I support Memcache in D7 site.<br>
<br><br></div><div>Did anybody face this issue anytime, any pointers highly appreciated.<br><br></div><div>Thanks<br></div><div>-Austin<br><br></div><div><br><br></div><div><br><br></div><div><br><br></div><div><br><br></div>
<div><div><div><div><div><br><br><br><br><div><div><br><br><br><br></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 17, 2013 at 5:32 PM, Austin Einter <span dir="ltr">&lt;<a href="mailto:austin.einter@gmail.com" target="_blank">austin.einter@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Dear All<br></div>I am facing some issues with Memcache install in a Drupal 7 site.<br>
</div><div>Environment CentOs 7.3, Drupal 7.15<br>
</div><br>1. First I Installed memcached using yum command (tried two times one time from remi repo and other time from base repo).<br></div>2. I configured /etc/sysconfig/memcacche config file<br></div>3. Started memached service<br>

<br></div>Looks everything went fine.<br><br></div>Then I <br></div>1. installed php-pecl-memcache from remi repo<br></div>2. enabled memcache module in drupal<br><br></div>Added below lines in settings.php file<br></div>

<br>include_once(&#39;./includes/cache.inc&#39;);<br>include_once(&#39;./sites/all/modules/memcache/memcache.inc&#39;);<br>$conf[&#39;cache_backends&#39;][] = &#39;sites/all/modules/memcache/memcache.inc&#39;;<br>$conf[&#39;cache_default_class&#39;] = &#39;MemCacheDrupal&#39;;<br>

$conf[&#39;cache_class_cache_form&#39;] = &#39;DrupalDatabaseCache&#39;;<br><br><br></div>After that I restarted memcached, httpd service.<br><br></div>Next I am unable to access my site. If I do not use memcache it is running fine, once i enable memcache it does not run.<br>

<br></div>Anybody has faced this issue.<br><br></div>Kindly guide how to resolve this issue.<br><br></div>Thanks<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Austin<br>
<br><div><div><div><div><br><br></div></div></div></div></font></span></div>
</blockquote></div><br></div>