Succes!!!
Debian command 100% working..
INSTALL EXTENSION:
/opt/phpswitcher/20201214/php5.6/bin/pecl install memcache-3.0.8
/opt/phpswitcher/20201214/php5.6/bin/pecl install memcached-2.2.0
sudo service memcached restart
/etc/init.d/psw5.6-fpm restart
/etc/init.d/apache2 restart
Build process completed successfully
Installing '/opt/phpswitcher/20201214/php5.6/lib/php/20131226/memcache.so'
install ok: channel://pecl.php.net/memcache-3.0.8
configuration option "php_ini" is not set to php.ini location
You should add "extension=memcache.so" to php.ini
But for something yet the memcache the phpinfo did not appear on a side
php.ini:
/opt/phpswitcher/20201214/php5.6/etc/php/conf.d/modules.ini
Code
- ; You can disable any extension below by commenting it with a semicolon and by
- ; restarting Apache2. Be aware that some modules can depend of other and thus
- ; loading order is signifiant.
- ;
- ; In case a needed extension is missing you can create a ticket at http://youtrack.i-mscp.net
- zend_extension = opcache.so
- extension=memcache.so
- extension=memcached.so
- extension = curl.so
- ;extension = enchant.so
- extension = gd.so
- ;extension = gmp.so
- extension = imap.so
- extension = intl.so
- ;extension = ldap.so
- extension = mcrypt.so
- ;extension = pspell.so
- ;extension = readline.so
- ;extension = recode.so
- ;extension = snmp.so
- ;extension = tidy.so
- ;extension = xmlrpc.so
- ;extension = xsl.so
- ; Database extensions
- extension = mysqlnd.so
- extension = pdo.so
- extension = mysql.so
- extension = mysqli.so
- extension = pdo_mysql.so
- ;extension = odbc.so
- ;extension = pdo_odbc.so
- ;extension = pgsql.so
- ;extension = pdo_pgsql.so
- ;extension = sqlite3.so
- ;extension = pdo_sqlite.so
- ;extension = pdo_dblib.so
- ;extension = pdo_firebird.so
- ;extension = interbase.so