This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
196
PHP Selector / Re: Add modules with PHP selector
« on: September 12, 2018, 07:02:18 AM »Something like this will do itQuoteyum install memcached -y
/opt/alt/php56/usr/bin/pecl install memcache
echo "extension=memcache.so" >> /opt/alt/php56/usr/php/php.ini
memcached -d -m 512 -l 127.0.0.1 -p 11211 -u nobody
chkconfig memcached onQuote/opt/alt/php56/usr/bin/php -i | grep memcache
Hi,
here for the quoted codes to get it should not be for a memcached also for a folder /opt/alt/php56/usr/bin/???
Аnd do I need to install again, provided I installed it once more to compile it with the PHP Version Switcher v2 for the basic version that is 7.2.9??
Аnd if I want to install on a higher alternative version of a PHP with CWP PHP Selector, say 7.1, everything is repeated with the same codes and sequence?
BR
Venty
OK, but...
the installation of memcached also for a folder /opt/alt/php56/usr/bin/??? and each row of codes one after the other to run them??
Аnd do I need to install and adjust again memcached, provided I installed it once more to compile it with the PHP Version Switcher v2 for the basic version that is 7.2.9??
197
PHP Selector / Re: Add modules with PHP selector
« on: September 12, 2018, 06:14:46 AM »Something like this will do itQuoteyum install memcached -y
/opt/alt/php56/usr/bin/pecl install memcache
echo "extension=memcache.so" >> /opt/alt/php56/usr/php/php.ini
memcached -d -m 512 -l 127.0.0.1 -p 11211 -u nobody
chkconfig memcached onQuote/opt/alt/php56/usr/bin/php -i | grep memcache
Hi,
here for the quoted codes to get it should not be for a memcached also for a folder /opt/alt/php56/usr/bin/???
Аnd do I need to install again, provided I installed it once more to compile it with the PHP Version Switcher v2 for the basic version that is 7.2.9??
Аnd if I want to install on a higher alternative version of a PHP with CWP PHP Selector, say 7.1, everything is repeated with the same codes and sequence?
BR
Venty
198
PHP / Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 12, 2018, 05:59:55 AM »
Does that mean I have to have both memcached and memcache???
Somewhere I read that memcache is only a version of PHP 5.6
Somewhere I read that memcache is only a version of PHP 5.6
199
PHP Selector / Re: Add modules with PHP selector
« on: September 12, 2018, 05:39:48 AM »
Hi,
thank you for the answer, but this question did not make it clear to me:
to ask:
3. In the beginning when I started the
Code: [Select]
/opt/alt/php56/usr/bin/pecl install redis
I received the following message:
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading redis-4.1.1.tgz ...
Thanks in advance!
BR
Venty
thank you for the answer, but this question did not make it clear to me:
to ask:
3. In the beginning when I started the
Code: [Select]
/opt/alt/php56/usr/bin/pecl install redis
I received the following message:
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading redis-4.1.1.tgz ...
Thanks in advance!
BR
Venty
200
PHP / Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 12, 2018, 05:34:49 AM »what does this gives?Code: [Select]grep -n -A1 memcache.so /usr/local/cwp/php71/php.ini
Hi,
thank you for the answer, but ask:
1. Is there a difference between memcached and memcache?
2. How do I report them to pay attention?
3. Now that I've retaken with
Code: [Select]
yum reinstall cwpphp -y, service cwp-phpfpm restartand
, then executed the command quoted above Code: [Select]
grep -n -A1 memcache.so /usr/local/cwp/php71/php.ini
, does not it give me such an answer 1920:extension=memcache.so???Thanks in advance!
BR
Venty
201
PHP / Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 10, 2018, 02:45:12 PM »There is no need to reinstall CWP
run as below
Code: [Select]yum reinstall cwpphp -y
service cwp-phpfpm restart
Hi,
I've run the code above, and I think everything is all right now, but I'm still excited about why this happened, and why did you get lost for memcache?
1. I've installed the memcached for the CWpanel, is that why?
2. With with PHP switcher I changed the version of the PHP to 7.2.9 for the sites, but it automatically changed the version of the PHP for the CWpanel and in this version 7.2.9 there is no memcache and there is a memcached?
3. Other..
Please help me to find out the reason, I think to do a clean installation of everything but do not want to repeat this error?
Thanks in advance!
BR
Venty
202
PHP Selector / Re: Add modules with PHP selector
« on: September 10, 2018, 02:11:58 PM »Like if you have php5.6 as your alternate php version. The paths are as below.Code: [Select]/opt/alt/php56/usr/bin/php
/opt/alt/php56/usr/bin/pecl
/opt/alt/php56/usr/bin/php-config
/opt/alt/php56/usr/bin/phpize
/opt/alt/php56/usr/php/php.ini
So to install redis to it, i will doCode: [Select]/opt/alt/php56/usr/bin/pecl install redis
Now enable its module in your phpiniCode: [Select]echo "extension=redis.so" >> /opt/alt/php56/usr/php/php.ini
Check if module is loadedCode: [Select][root@cwp7 ~]# /opt/alt/php56/usr/bin/php -i | grep redis
redis
Registered save handlers => files user redis rediscluster
This program is free software; you can redistribute it and/or modify
Your can replace php56 with the version you have installed. Like if you have 7.1 use php71. So in that case path of your files will beCode: [Select]/opt/alt/php71/usr/bin/php
/opt/alt/php71/usr/bin/pecl
/opt/alt/php71/usr/bin/php-config
/opt/alt/php71/usr/bin/phpize
/opt/alt/php71/usr/php/php.ini
Hi,
I want to ask:
1. If I already have a redis installed and compiled with PHP switcher, do I need to install it again with
Code: [Select]
/ opt / alt / php56 / usr / bin / pecl install redis
?2. When installing it with
Code: [Select]
/ opt / alt / php56 / usr / bin / pecl install redis
only the alternative PHP 5.6 is installed and does not affect the PHP version and modules for the sites and PHP version and modules for CWP?
3. In the beginning when I started the
Code: [Select]
/opt/alt/php56/usr/bin/pecl install redis
I received the following message:WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading redis-4.1.1.tgz ... ?
4. When the installation started, he asked me twice:
enable igbinary serializer support? [no]: no
enable lzf compression support? [no]: no
and I answered "No" - is it right?
5. As far as I understand, if I want for another version I repeat the same with other folders ??
Thanks in advance!
BR
Venty
203
PHP / Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 07, 2018, 11:38:49 AM »
and that will restore memcache???
204
PHP / Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 07, 2018, 10:04:44 AM »
Ok, but as was clear from the discussion memcache is missing:
Posted by: bullten « on: September 06, 2018, 10:49:03 PM » Insert Quote
"This path /usr/local/cwp/php71/bin/php -v is for webserver php which is used by centos web panel server cwpsrv.."
...which means I obviously have already touched something and modify cwp configuration ...
What do I do in this case - reinstall CWP?
BR
Venty
Posted by: bullten « on: September 06, 2018, 10:49:03 PM » Insert Quote
"This path /usr/local/cwp/php71/bin/php -v is for webserver php which is used by centos web panel server cwpsrv.."
...which means I obviously have already touched something and modify cwp configuration ...
What do I do in this case - reinstall CWP?
BR
Venty
205
PHP / Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 07, 2018, 04:13:19 AM »I do not know if I will ...
and why is this error for memcache?
Please do not know how to delete the top answer, the quote is the correct text ...
How to delete it here or edit it?!?
206
PHP / Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 07, 2018, 12:04:41 AM »
I do not know if I will ...
and why is this grudge?
and why is this grudge?
207
PHP / Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 06, 2018, 10:43:12 PM »
but what should I do to have memcache?
208
PHP / Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 06, 2018, 10:01:28 PM »
but that's going to comment memcache.so, and memcache will not be active???
209
PHP / Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 06, 2018, 09:24:17 PM »
1920:extension=memcache.so
green:white=red
green:white=red
210
PHP / Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 06, 2018, 08:49:50 PM »
And... I have new installation of the CWP and a selected version of the PHP 7.2.9 with the PHP switcher ... I've never worked with a version of the PHP 7.1.x???