[support] Drupal7 + Memcache install issue

Austin Einter austin.einter at gmail.com
Mon Mar 18 00:47:29 UTC 2013


Thanks  Jamie, Lucas

I am taking a system backup and proceeding. Meantime, do you recommend
any particular repo, as I have seen remi is a nightmare for me. Should
I install all php packages from base + epel repos. Kindly suggest.

Best regards

-Austin



On Mon, Mar 18, 2013 at 5:53 AM, Lucas D Hedding <lucashedding at gmail.com>wrote:

> There are no visible dependencies between solr, clamd, varnish, etc and
> PHP.  Take a system backup and try it.
>
> Lucas
>
>
> On Sun, Mar 17, 2013 at 7:13 PM, Austin Einter <austin.einter at gmail.com>wrote:
>
>> One more installation tikka 1.3 , with all these apps already installed,
>> I am bit nervous to uninstall PHP 5.4 and install PHP 5.3.
>>
>> Anyother alternatives....
>>
>> -Kamal
>>
>>
>> On Mon, Mar 18, 2013 at 5:36 AM, Austin Einter <austin.einter at gmail.com>wrote:
>>
>>> Dear Jamie Holly
>>> Thanks for the input. Now already I have installed many applications
>>> such as apache, mysql 5.5, apache solr, clamd, dovecot, amavisd, varnish
>>> etc. If I uninstall php 5.4 and install php 5.3  now, I am NOT sure if it
>>> will break anything. Has anybody done this anytime, kindly share...
>>>
>>> Thanks
>>> --Austin
>>>
>>>
>>> On Sun, Mar 17, 2013 at 10:37 PM, Jamie Holly <
>>> hovercrafter at earthlink.net> wrote:
>>>
>>>>  I assume you're talking about CentOS 6.3, since 7 isn't available.
>>>>
>>>> First, I recommend going with PHP 5.3. There are a lot of contrib
>>>> modules that still have problems in 5.4. 5.3 is what comes with CentOS 6,
>>>> and installs without a problem, including APC and Memcache. I have a server
>>>> running it that gets about 1/4 million pageviews per day.
>>>>
>>>> Also Remi's repository is always a nightmare. You are seeing that here
>>>> with broken dependencies (wanting different versions of libjpeg). Since
>>>> Remi does a lot of dependency breaks, I would recommend asking at their
>>>> forum for help:
>>>>
>>>> http://forums.famillecollet.com/
>>>>
>>>> But again, I strongly recommend going with PHP 5.3. It's a lot less
>>>> headache not only from CentOS, but also from Drupal.
>>>>
>>>> Jamie Hollyhttp://www.intoxination.net http://www.hollyit.net
>>>>
>>>> On 3/17/2013 10:47 AM, Austin Einter wrote:
>>>>
>>>>     Dear All
>>>>  I am almost blocked regarding this issue.
>>>>
>>>>  It looks to me anything I want to install that invoves PECL , my
>>>> machine does not work properly.
>>>>  My experience with APC was so bad, finally I just left it off.
>>>>
>>>>  Regarding Memcache support for Drupal 7, Just to make sure that there
>>>> is no dependency issues, I tried to build the required stuff.
>>>>
>>>>  I built libevent, memcached. It went smooth. I was able to start
>>>> memcached service properly.
>>>>
>>>>  Next, I wanted to build php-pecl-memcache. Here is uncovered certain
>>>> issues.
>>>>  I downloaded php-pecl-memcache 2.2.7.
>>>>
>>>>   Found instructions at
>>>> http://install_php_memcache.onlinephpfunctions.com/ to build.
>>>>
>>>>  When I execute phpize command I get
>>>>
>>>> *Can't find PHP headers in /usr/include/php
>>>> The php-devel package is required for use of this command.
>>>> *
>>>>  I tried to install php-devel package. It gives below error
>>>>
>>>> *--> Finished Dependency Resolution
>>>> Error: Package: php-gd-5.4.13-1.el6.remi.x86_64 (remi)
>>>>            Requires: libjpeg.so.62(LIBJPEG_6.2)(64bit)
>>>>  You could try using --skip-broken to work around the problem
>>>> *
>>>>  But libjpeg is already installed.
>>>>  *[root at ip-173-201-189-43 memcache-2.2.7]#
>>>> [root at ip-173-201-189-43 memcache-2.2.7]# rpm -qa | grep libjpeg
>>>> libjpeg-6b-46.el6.x86_64
>>>> [root at ip-173-201-189-43 memcache-2.2.7]#
>>>> *
>>>>  Now I am clueless how can I support Memcache in D7 site.
>>>>
>>>>
>>>>  Did anybody face this issue anytime, any pointers highly appreciated.
>>>>
>>>>  Thanks
>>>>  -Austin
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Sun, Mar 17, 2013 at 5:32 PM, Austin Einter <austin.einter at gmail.com
>>>> > wrote:
>>>>
>>>>>         Dear All
>>>>>  I am facing some issues with Memcache install in a Drupal 7 site.
>>>>>  Environment CentOs 7.3, Drupal 7.15
>>>>>
>>>>> 1. First I Installed memcached using yum command (tried two times one
>>>>> time from remi repo and other time from base repo).
>>>>>  2. I configured /etc/sysconfig/memcacche config file
>>>>>  3. Started memached service
>>>>>
>>>>>  Looks everything went fine.
>>>>>
>>>>>  Then I
>>>>>  1. installed php-pecl-memcache from remi repo
>>>>>  2. enabled memcache module in drupal
>>>>>
>>>>>  Added below lines in settings.php file
>>>>>
>>>>> include_once('./includes/cache.inc');
>>>>> include_once('./sites/all/modules/memcache/memcache.inc');
>>>>> $conf['cache_backends'][] = 'sites/all/modules/memcache/memcache.inc';
>>>>> $conf['cache_default_class'] = 'MemCacheDrupal';
>>>>> $conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
>>>>>
>>>>>
>>>>>  After that I restarted memcached, httpd service.
>>>>>
>>>>>  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.
>>>>>
>>>>>  Anybody has faced this issue.
>>>>>
>>>>>  Kindly guide how to resolve this issue.
>>>>>
>>>>>  Thanks
>>>>>  Austin
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> [ Drupal support list | http://lists.drupal.org/ ]
>>>>
>>>
>>>
>>
>> --
>> [ Drupal support list | http://lists.drupal.org/ ]
>>
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20130318/3d3b25c5/attachment-0001.html 


More information about the support mailing list