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
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@ip-173-201-189-43 memcache-2.2.7]# [root@ip-173-201-189-43 memcache-2.2.7]# rpm -qa | grep libjpeg libjpeg-6b-46.el6.x86_64 [root@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@gmail.comwrote:
Dear All I am facing some issues with Memcache install in a Drupal 7 site. Environment CentOs 7.3, Drupal 7.15
- 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
- installed php-pecl-memcache from remi repo
- 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
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 Holly http://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@ip-173-201-189-43 memcache-2.2.7]# [root@ip-173-201-189-43 memcache-2.2.7]# rpm -qa | grep libjpeg libjpeg-6b-46.el6.x86_64 [root@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@gmail.com mailto:austin.einter@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
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@earthlink.netwrote:
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 AllI 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@ip-173-201-189-43 memcache-2.2.7]# [root@ip-173-201-189-43 memcache-2.2.7]# rpm -qa | grep libjpeg libjpeg-6b-46.el6.x86_64 [root@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@gmail.comwrote:
Dear AllI am facing some issues with Memcache install in a Drupal 7 site. Environment CentOs 7.3, Drupal 7.15
- 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
- installed php-pecl-memcache from remi repo
- 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/ ]
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@gmail.comwrote:
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@earthlink.netwrote:
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 AllI 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@ip-173-201-189-43 memcache-2.2.7]# [root@ip-173-201-189-43 memcache-2.2.7]# rpm -qa | grep libjpeg libjpeg-6b-46.el6.x86_64 [root@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@gmail.comwrote:
Dear AllI am facing some issues with Memcache install in a Drupal 7 site. Environment CentOs 7.3, Drupal 7.15
- 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
- installed php-pecl-memcache from remi repo
- 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/ ]
You shouldn't have any problems. Just do a yum remove of PHP and it will give a list of everything that will be affected. You can verify any problems before proceeding.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 3/17/2013 8:13 PM, Austin Einter 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@gmail.com mailto:austin.einter@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@earthlink.net <mailto:hovercrafter@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 Holly http://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@ip-173-201-189-43 memcache-2.2.7]# [root@ip-173-201-189-43 memcache-2.2.7]# rpm -qa | grep libjpeg libjpeg-6b-46.el6.x86_64 [root@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@gmail.com <mailto:austin.einter@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/ ]
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@gmail.comwrote:
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@gmail.comwrote:
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@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 AllI 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@ip-173-201-189-43 memcache-2.2.7]# [root@ip-173-201-189-43 memcache-2.2.7]# rpm -qa | grep libjpeg libjpeg-6b-46.el6.x86_64 [root@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@gmail.comwrote:
Dear AllI am facing some issues with Memcache install in a Drupal 7 site. Environment CentOs 7.3, Drupal 7.15
- 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
- installed php-pecl-memcache from remi repo
- 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/ ]
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@gmail.comwrote:
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@gmail.comwrote:
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@gmail.comwrote:
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@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 AllI 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@ip-173-201-189-43 memcache-2.2.7]# [root@ip-173-201-189-43 memcache-2.2.7]# rpm -qa | grep libjpeg libjpeg-6b-46.el6.x86_64 [root@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@gmail.com
wrote:
Dear AllI am facing some issues with Memcache install in a Drupal 7 site. Environment CentOs 7.3, Drupal 7.15
- 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
- installed php-pecl-memcache from remi repo
- 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/ ]
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
On Mon, Mar 18, 2013 at 6:17 AM, Austin Einter austin.einter@gmail.comwrote:
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@gmail.comwrote:
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@gmail.comwrote:
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@gmail.comwrote:
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@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 AllI 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@ip-173-201-189-43 memcache-2.2.7]# [root@ip-173-201-189-43 memcache-2.2.7]# rpm -qa | grep libjpeg libjpeg-6b-46.el6.x86_64 [root@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@gmail.com> wrote:
Dear AllI am facing some issues with Memcache install in a Drupal 7 site. Environment CentOs 7.3, Drupal 7.15
- 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
- installed php-pecl-memcache from remi repo
- 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/ ]
Hi I did uninstall all php packages as below.
yum remove php php-mysql php-pear-MDB2-Driver-mysql php-intl php-mcrypt php-pear-Mail-Mime php-pecl-igbinary php-common php-mbstring phpMyAdmin php-pear php-pear-MDB2 php-pear-Net-SMTP php-pspell php-imap php-php-gettext php-pdo php-pear-Net-Socket php-pear-Net-IDNA2 php-ldap php-gd php-pear-Auth-SASL php-pear-db php-cli php-xml php-pear-Mail-mimeDecode php-process
The only dependent app got affected is mailclient roundcube. I am not worried too much of roundcube.
yum install php php-mysql php-pear-MDB2-Driver-mysql php-intl php-mcrypt php-pear-Mail-Mime php-pecl-igbinary php-common php-mbstring phpMyAdmin php-pear php-pear-MDB2 php-pear-Net-SMTP php-pspell php-imap php-php-gettext php-pdo php-pear-Net-Socket php-pear-Net-IDNA2 php-ldap php-gd php-pear-Auth-SASL php-pear-db php-cli php-xml php-pear-Mail-mimeDecode php-process --disablerepo=remi
The I have installed all the packages where I disabled remi repo.
I checked , and looks things are working fine, atleast not encountered issues.
Now I will go and check memcache...
Thanks a lot everybody.
-Austin
On Mon, Mar 18, 2013 at 6:18 AM, Austin Einter austin.einter@gmail.comwrote:
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
On Mon, Mar 18, 2013 at 6:17 AM, Austin Einter austin.einter@gmail.comwrote:
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@gmail.comwrote:
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@gmail.comwrote:
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@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@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 AllI 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@ip-173-201-189-43 memcache-2.2.7]# [root@ip-173-201-189-43 memcache-2.2.7]# rpm -qa | grep libjpeg libjpeg-6b-46.el6.x86_64 [root@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@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/ ]
I experience the same issue. I installed PHP 5.3, as you can see below. With that if I enable memcache in my settings.php, then my site goes down. Kindly somebody help.
[root@ip-173-201-189-43 necs14]# rpm -qa | grep php php-pear-1.9.4-4.el6.noarch php-pdo-5.3.3-14.el6_3.x86_64 php-pear-Net-IDNA2-0.1.1-3.el6.noarch php-pear-Auth-SASL-1.0.4-1.el6.noarch phpMyAdmin-3.5.7-1.el6.noarch php-intl-5.3.3-14.el6_3.x86_64 php-mbstring-5.3.3-14.el6_3.x86_64 php-pear-MDB2-2.5.0-0.3.b3.el6.noarch php-php-gettext-1.0.11-3.el6.noarch php-mcrypt-5.3.3-1.el6.x86_64 php-pear-Mail-mimeDecode-1.5.5-1.el6.noarch php-pspell-5.3.3-14.el6_3.x86_64 php-xml-5.3.3-14.el6_3.x86_64 php-pecl-memcache-3.0.5-4.el6.x86_64 php-common-5.3.3-14.el6_3.x86_64 php-pear-Mail-Mime-1.8.4-1.el6.noarch php-5.3.3-14.el6_3.x86_64 php-mysql-5.3.3-14.el6_3.x86_64 php-pear-Net-SMTP-1.6.1-1.el6.noarch php-imap-5.3.3-14.el6_3.x86_64 php-ldap-5.3.3-14.el6_3.x86_64 php-pear-Net-Socket-1.0.10-1.el6.noarch php-pear-MDB2-Driver-mysql-1.5.0-0.1.b3.el6.noarch php-process-5.3.3-14.el6_3.x86_64 php-cli-5.3.3-14.el6_3.x86_64 php-gd-5.3.3-14.el6_3.x86_64 php-pecl-igbinary-1.1.1-3.el6.x86_64 [root@ip-173-201-189-43 necs14]#
Regards Austin
On Mon, Mar 18, 2013 at 6:54 AM, Austin Einter austin.einter@gmail.comwrote:
Hi I did uninstall all php packages as below.
yum remove php php-mysql php-pear-MDB2-Driver-mysql php-intl php-mcrypt php-pear-Mail-Mime php-pecl-igbinary php-common php-mbstring phpMyAdmin php-pear php-pear-MDB2 php-pear-Net-SMTP php-pspell php-imap php-php-gettext php-pdo php-pear-Net-Socket php-pear-Net-IDNA2 php-ldap php-gd php-pear-Auth-SASL php-pear-db php-cli php-xml php-pear-Mail-mimeDecode php-process
The only dependent app got affected is mailclient roundcube. I am not worried too much of roundcube.
yum install php php-mysql php-pear-MDB2-Driver-mysql php-intl php-mcrypt php-pear-Mail-Mime php-pecl-igbinary php-common php-mbstring phpMyAdmin php-pear php-pear-MDB2 php-pear-Net-SMTP php-pspell php-imap php-php-gettext php-pdo php-pear-Net-Socket php-pear-Net-IDNA2 php-ldap php-gd php-pear-Auth-SASL php-pear-db php-cli php-xml php-pear-Mail-mimeDecode php-process --disablerepo=remi
The I have installed all the packages where I disabled remi repo.
I checked , and looks things are working fine, atleast not encountered issues.
Now I will go and check memcache...
Thanks a lot everybody.
-Austin
On Mon, Mar 18, 2013 at 6:18 AM, Austin Einter austin.einter@gmail.comwrote:
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
On Mon, Mar 18, 2013 at 6:17 AM, Austin Einter austin.einter@gmail.comwrote:
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@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@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@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@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@ip-173-201-189-43 memcache-2.2.7]# > [root@ip-173-201-189-43 memcache-2.2.7]# rpm -qa | grep libjpeg > libjpeg-6b-46.el6.x86_64 > [root@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@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/ ]
Are you sure memcache is enabled in PHP? Put:
<?php
phpinfo();
In a file and access it in your browser, then look for the memcache section.
If it's in there, then I suggest asking for help on serverfault or the CentOS forums, as you may have broken dependencies in there from using remi.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 3/17/2013 10:25 PM, Austin Einter wrote:
I experience the same issue. I installed PHP 5.3, as you can see below. With that if I enable memcache in my settings.php, then my site goes down. Kindly somebody help.
[root@ip-173-201-189-43 necs14]# rpm -qa | grep php php-pear-1.9.4-4.el6.noarch php-pdo-5.3.3-14.el6_3.x86_64 php-pear-Net-IDNA2-0.1.1-3.el6.noarch php-pear-Auth-SASL-1.0.4-1.el6.noarch phpMyAdmin-3.5.7-1.el6.noarch php-intl-5.3.3-14.el6_3.x86_64 php-mbstring-5.3.3-14.el6_3.x86_64 php-pear-MDB2-2.5.0-0.3.b3.el6.noarch php-php-gettext-1.0.11-3.el6.noarch php-mcrypt-5.3.3-1.el6.x86_64 php-pear-Mail-mimeDecode-1.5.5-1.el6.noarch php-pspell-5.3.3-14.el6_3.x86_64 php-xml-5.3.3-14.el6_3.x86_64 php-pecl-memcache-3.0.5-4.el6.x86_64 php-common-5.3.3-14.el6_3.x86_64 php-pear-Mail-Mime-1.8.4-1.el6.noarch php-5.3.3-14.el6_3.x86_64 php-mysql-5.3.3-14.el6_3.x86_64 php-pear-Net-SMTP-1.6.1-1.el6.noarch php-imap-5.3.3-14.el6_3.x86_64 php-ldap-5.3.3-14.el6_3.x86_64 php-pear-Net-Socket-1.0.10-1.el6.noarch php-pear-MDB2-Driver-mysql-1.5.0-0.1.b3.el6.noarch php-process-5.3.3-14.el6_3.x86_64 php-cli-5.3.3-14.el6_3.x86_64 php-gd-5.3.3-14.el6_3.x86_64 php-pecl-igbinary-1.1.1-3.el6.x86_64 [root@ip-173-201-189-43 necs14]#
Regards Austin
On Mon, Mar 18, 2013 at 6:54 AM, Austin Einter <austin.einter@gmail.com mailto:austin.einter@gmail.com> wrote:
Hi I did uninstall all php packages as below. yum remove php php-mysql php-pear-MDB2-Driver-mysql php-intl php-mcrypt php-pear-Mail-Mime php-pecl-igbinary php-common php-mbstring phpMyAdmin php-pear php-pear-MDB2 php-pear-Net-SMTP php-pspell php-imap php-php-gettext php-pdo php-pear-Net-Socket php-pear-Net-IDNA2 php-ldap php-gd php-pear-Auth-SASL php-pear-db php-cli php-xml php-pear-Mail-mimeDecode php-process The only dependent app got affected is mailclient roundcube. I am not worried too much of roundcube. yum install php php-mysql php-pear-MDB2-Driver-mysql php-intl php-mcrypt php-pear-Mail-Mime php-pecl-igbinary php-common php-mbstring phpMyAdmin php-pear php-pear-MDB2 php-pear-Net-SMTP php-pspell php-imap php-php-gettext php-pdo php-pear-Net-Socket php-pear-Net-IDNA2 php-ldap php-gd php-pear-Auth-SASL php-pear-db php-cli php-xml php-pear-Mail-mimeDecode php-process --disablerepo=remi The I have installed all the packages where I disabled remi repo. I checked , and looks things are working fine, atleast not encountered issues. Now I will go and check memcache... Thanks a lot everybody. -Austin On Mon, Mar 18, 2013 at 6:18 AM, Austin Einter <austin.einter@gmail.com <mailto:austin.einter@gmail.com>> wrote: 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 On Mon, Mar 18, 2013 at 6:17 AM, Austin Einter <austin.einter@gmail.com <mailto:austin.einter@gmail.com>> wrote: 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@gmail.com <mailto:lucashedding@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@gmail.com <mailto:austin.einter@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@gmail.com <mailto:austin.einter@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@earthlink.net <mailto:hovercrafter@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 Holly http://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@ip-173-201-189-43 memcache-2.2.7]# [root@ip-173-201-189-43 memcache-2.2.7]# rpm -qa | grep libjpeg libjpeg-6b-46.el6.x86_64 [root@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@gmail.com <mailto:austin.einter@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/ ]
Drupal 7.20 I have a site http:\sjra.org that has been up for a few months. Sometime since January we lost the ability to add a basic-page, but it was only brought to my attention today. Basic-page created prior to this error display fine, just that we can not make any new ones. The problem behaves as if I intentionally disabled basic-page creation ability. When I Admin, Content, Add content, It jumps right too adding an article. I assume it does this as it’s the only valid content type at this time. I am logged on with an account that has the pre-built “administrator” role assigned to it. This account experiences the same problem, so its not looking like a permissions problem. I’m fairly up to date with module and core updates. My guess is one of them may have introduced a regression error. I have another mirror site of this one. The other site works fine. It receives same module updates first. I guess I need to start comparing settings from one site to the other. Any tips of where to look would be appreciated. Bob
brought to my attention today. Basic-page created prior to this error display fine, just that we can not make any new ones. The problem behaves as if I intentionally disabled basic-page creation ability. When I Admin,
Did you try rebuilding your menu_router? Clearing cache or saving modules page should do that.
Thanks Anoop
|-- | Zyxware Technologies | http://www.zyxware.com |-- | Be the change you wish to see in the world, M. K. Gandhi |--
Thanks. We figure it out. A silly error. We did not have it enabled as found on this path: overlay=admin/structure/menu/manage/navigation.
Bob
-----Original Message----- From: Anoop John Sent: Monday, March 18, 2013 2:19 AM To: support@drupal.org Subject: Re: [support] basic-page Content Type Not Available?
brought to my attention today. Basic-page created prior to this error display fine, just that we can not make any new ones. The problem behaves as if I intentionally disabled basic-page creation ability. When I Admin,
Did you try rebuilding your menu_router? Clearing cache or saving modules page should do that.
Thanks Anoop
|-- | Zyxware Technologies | http://www.zyxware.com |-- | Be the change you wish to see in the world, M. K. Gandhi |--
I have a basic question. Where we tell to Apache/Varnish/Drupal that memcached is running at localhost with this port. I hope I am doing something wrong in configuration. Kindly let me know.., if any link gives all required steps for memcache support in drupal 7.
-Austin
On Sun, Mar 17, 2013 at 5:32 PM, Austin Einter austin.einter@gmail.comwrote:
Dear All I am facing some issues with Memcache install in a Drupal 7 site. Environment CentOs 7.3, Drupal 7.15
- 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
- installed php-pecl-memcache from remi repo
- 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
That's set up in settings.php.
You keep saying your "site is going down". What's going down? Is it giving an error? White screen? Mushroom cloud coming out of the server?
If you are getting an error, please share that. If it's a white screen, then look in your apache error logs and share those. There really isn't much more help that can be given without that information.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 3/17/2013 10:43 PM, Austin Einter wrote:
I have a basic question. Where we tell to Apache/Varnish/Drupal that memcached is running at localhost with this port. I hope I am doing something wrong in configuration. Kindly let me know.., if any link gives all required steps for memcache support in drupal 7.
-Austin
On Sun, Mar 17, 2013 at 5:32 PM, Austin Einter <austin.einter@gmail.com mailto:austin.einter@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
Dear Jamie Site goes blank. Nothing comes.
In htppd error log I get error statement as below.
[Sun Mar 17 20:29:43 2013] [error] [client 10.0.0.1] PHP Fatal error: Class 'MemCacheDrupal' not found in /var/www/html/ netcloudjobs.com/includes/cache.inc on line 33, referer: http://www.netcloudjobs.com/
Thanks -Austin
On Mon, Mar 18, 2013 at 8:23 AM, Jamie Holly hovercrafter@earthlink.netwrote:
That's set up in settings.php.
You keep saying your "site is going down". What's going down? Is it giving an error? White screen? Mushroom cloud coming out of the server?
If you are getting an error, please share that. If it's a white screen, then look in your apache error logs and share those. There really isn't much more help that can be given without that information.
Jamie Hollyhttp://www.intoxination.net http://www.hollyit.net
On 3/17/2013 10:43 PM, Austin Einter wrote:
I have a basic question. Where we tell to Apache/Varnish/Drupal that memcached is running at localhost with this port. I hope I am doing something wrong in configuration. Kindly let me know.., if any link gives all required steps for memcache support in drupal 7.
-Austin
On Sun, Mar 17, 2013 at 5:32 PM, Austin Einter austin.einter@gmail.comwrote:
Dear AllI am facing some issues with Memcache install in a Drupal 7 site. Environment CentOs 7.3, Drupal 7.15
- 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
- installed php-pecl-memcache from remi repo
- 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/ ]
Have you set up Drupal to load the cache backend files and set the cache class, as stated in the readme file? You got to have these in your sites/default/settings.php file:
$conf['cache_backends'][] = 'sites/all/modules/memcache/memcache.inc'; $conf['cache_default_class'] = 'MemCacheDrupal';
(If the module isn't in sites/all/modules, then change it to where you unzipped it.)
That's also where you set your memcache servers. Check the readme file out for instructions on that.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 3/17/2013 11:33 PM, Austin Einter wrote:
Dear Jamie Site goes blank. Nothing comes.
In htppd error log I get error statement as below.
[Sun Mar 17 20:29:43 2013] [error] [client 10.0.0.1] PHP Fatal error: Class 'MemCacheDrupal' not found in /var/www/html/netcloudjobs.com/includes/cache.inc http://netcloudjobs.com/includes/cache.inc on line 33, referer: http://www.netcloudjobs.com/
Thanks -Austin
On Mon, Mar 18, 2013 at 8:23 AM, Jamie Holly <hovercrafter@earthlink.net mailto:hovercrafter@earthlink.net> wrote:
That's set up in settings.php. You keep saying your "site is going down". What's going down? Is it giving an error? White screen? Mushroom cloud coming out of the server? If you are getting an error, please share that. If it's a white screen, then look in your apache error logs and share those. There really isn't much more help that can be given without that information. Jamie Holly http://www.intoxination.net http://www.hollyit.net On 3/17/2013 10:43 PM, Austin Einter wrote:I have a basic question. Where we tell to Apache/Varnish/Drupal that memcached is running at localhost with this port. I hope I am doing something wrong in configuration. Kindly let me know.., if any link gives all required steps for memcache support in drupal 7. -Austin On Sun, Mar 17, 2013 at 5:32 PM, Austin Einter <austin.einter@gmail.com <mailto:austin.einter@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/ ]
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.
I think you will have to debug this in pieces.
a) Write plain test.php to test if memcache is running and behaving normally b) Write Drupal bootstrapped test.php and check if memcache is configured correctly in Drupal and you are able to access memcache functions c) In Drupal bootstrapped test.php you will have to check if Drupal caching functions work correctly with Memcache and if not debug it from there.
Thanks Anoop
|-- | Zyxware Technologies | http://www.zyxware.com |-- | Be the change you wish to see in the world, M. K. Gandhi |--
Hi I just uninstalled all memcache related stuff.
Next I followed the instructions in README.txt, now I am able to use Memcache.
However I do not see much performance improvement.
Moreover the pages having captch image, takes around 4/5 second to load.
I am using Varnish and Memcache for caching purpse.
What are the optimal configurations for Varnish and Memcache.., to make a site faster.
It is a job search site (www.netcloudjobs.com).
Best Regards -Austin
On Mon, Mar 18, 2013 at 11:53 AM, Anoop John anoop.john@zyxware.com wrote:
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.
I think you will have to debug this in pieces.
a) Write plain test.php to test if memcache is running and behaving normally b) Write Drupal bootstrapped test.php and check if memcache is configured correctly in Drupal and you are able to access memcache functions c) In Drupal bootstrapped test.php you will have to check if Drupal caching functions work correctly with Memcache and if not debug it from there.
Thanks Anoop
|-- | Zyxware Technologies | http://www.zyxware.com |-- | Be the change you wish to see in the world, M. K. Gandhi |-- -- [ Drupal support list | http://lists.drupal.org/ ]
Captcha pages always take longer to load because they aren't cached.
As far as the settings, there is no single answer. You should post this in the high performance group, as this list is more dedicated to core Drupal stuff and not server related questions:
http://groups.drupal.org/high-performance
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 3/18/2013 11:26 AM, Austin Einter wrote:
Hi I just uninstalled all memcache related stuff.
Next I followed the instructions in README.txt, now I am able to use Memcache.
However I do not see much performance improvement.
Moreover the pages having captch image, takes around 4/5 second to load.
I am using Varnish and Memcache for caching purpse.
What are the optimal configurations for Varnish and Memcache.., to make a site faster.
It is a job search site (www.netcloudjobs.com http://www.netcloudjobs.com).
Best Regards -Austin
On Mon, Mar 18, 2013 at 11:53 AM, Anoop John <anoop.john@zyxware.com mailto:anoop.john@zyxware.com> wrote:
> 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. I think you will have to debug this in pieces. a) Write plain test.php to test if memcache is running and behaving normally b) Write Drupal bootstrapped test.php and check if memcache is configured correctly in Drupal and you are able to access memcache functions c) In Drupal bootstrapped test.php you will have to check if Drupal caching functions work correctly with Memcache and if not debug it from there. Thanks Anoop |-- | Zyxware Technologies | http://www.zyxware.com |-- | Be the change you wish to see in the world, M. K. Gandhi |-- -- [ Drupal support list | http://lists.drupal.org/ ]