Categories

PHP Warning: Module ‘memcache’ already loaded in Unknown line 0

Problème message   : PHP Warning: Module ‘memcache’ already loaded in Unknown line 0

root@srv-khanh:/etc/php5# php -v
PHP 5.6.29-0+deb8u1 (cli) (built: Dec 17 2016 06:04:43)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
root@srv-khanh:/etc/php5#

 

Mettre un # devant la ligne memcache du fichier /etc/php5/fpm/php.ini

vi /etc/php5/fpm/php.ini

; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit = 512M

extension=memcached.so
;extension=memcache.so 

 

et redémarer php5-fpm

# service php5-fpm restart

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  

  

  

This site uses Akismet to reduce spam. Learn how your comment data is processed.