Show Posts

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.


Messages - venty

Pages: 1 ... 17 18 [19] 20 21 ... 28
271
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 do

Code: [Select]
/opt/alt/php56/usr/bin/pecl install redis
Now enable its module in your phpini

Code: [Select]
echo "extension=redis.so" >> /opt/alt/php56/usr/php/php.ini
Check if module is loaded

Code: [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 be

Code: [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

272
PHP / Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 07, 2018, 11:38:49 AM »
and that will restore memcache???

273
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

274
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?!?

275
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?

276
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?

277
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???

278
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

279
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???

280
PHP / Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 06, 2018, 08:38:34 PM »
HP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20151012/memcache.so' - /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20151012/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
Configuration File (php.ini) Path: /usr/local/cwp/php71
Loaded Configuration File:         /usr/local/cwp/php71/php.ini
Scan for additional .ini files in: /usr/local/cwp/php71/php.d
Additional .ini files parsed:      (none)

281
PHP / Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 06, 2018, 06:38:39 PM »
 ???

282
PHP / Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 06, 2018, 03:24:57 PM »
 :reinstall or remove in php.ini

283
PHP / Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 06, 2018, 06:18:05 AM »
Hi,

memcached is necessary so I would not remove remove the memcached/memcache extension line from php.ini ...

For the reinstallation php 7.2.9 with memcached, these few reinstallations with PHP switcher would not lead to further errors in the panel's work, to the creation of temporary files that will make the system work harder or other...

By the way, when (in firrs time) I chose to install php 7.2.9 I had put the tick on memcached...


What I do?!?  now I repeat it?? PHP switcher?!?

Thanks i n advance!


BR
Venty

284
PHP / PHP Warning: PHP Startup: Unable to load dynamic library...
« on: September 05, 2018, 09:44:02 AM »
Hi,

After a new installation of the CWP and a selected version of the PHP with the PHP switcher 7.2.9, in the daily messages (Anacron job 'cron.daily' on hosting.v.com) I have the following text:

"/etc/cron.daily/cwp:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20151012/memcache.so' - /usr/local/cwp/php71/lib/php/extensions/no-debug-non-zts-20151012/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0"


What can I do?
Thanks in advance!

BR
Venty

285
PHP Selector / Re: Add modules with PHP selector
« on: September 04, 2018, 04:04:49 PM »
memcached?

Pages: 1 ... 17 18 [19] 20 21 ... 28