Author Topic: PHP Warning: PHP Startup: Unable to load dynamic library...  (Read 29564 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« Reply #15 on: September 06, 2018, 10:43:12 PM »
but what should I do to have memcache?

Offline
***
Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« Reply #16 on: September 06, 2018, 10:49:03 PM »
Why would you have memcache for cwpsrver php.

I understand if you want to have memcache you can have for php used by website.

This path /usr/local/cwp/php71/bin/php -v is for webserver php which is used by centos web panel server cwpsrv

/usr/local/bin/php -v this is your php path used by you website.

You are getting confused between two myfriend :)

Offline
***
Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« Reply #17 on: September 07, 2018, 12:04:41 AM »
I do not know if I will ...
and why is this grudge?

Offline
***
Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« Reply #18 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?!?
« Last Edit: September 07, 2018, 04:33:37 AM by venty »

Offline
*****
Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« Reply #19 on: September 07, 2018, 05:51:22 AM »
please don't modify cwp configuration else you've lots of problem.

Offline
***
Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« Reply #20 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

Offline
***
Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« Reply #21 on: September 07, 2018, 11:02:46 AM »
There is no need to reinstall CWP

run as below
 
Code: [Select]
yum reinstall cwpphp -y
service cwp-phpfpm restart
« Last Edit: September 07, 2018, 11:07:40 AM by bullten »

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

Offline
***
Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« Reply #23 on: September 07, 2018, 01:40:44 PM »
The above command will reset cwp php to original state as it should be.

Offline
***
Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« Reply #24 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

Offline
***
Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« Reply #25 on: September 12, 2018, 05:07:13 AM »
I told you to run below commands to make cwp server php return to original state as it was when originally installed. I wonder why would you install memcache for cwp server php?

Quote
1. I've installed the memcached for the CWpanel, is that why?

yes

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

If that happened report to the developers. Its a bug then

Clean installation will not make any difference.

Offline
***
Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« Reply #26 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

Offline
***
Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« Reply #27 on: September 12, 2018, 05:54:14 AM »
Memcached is a server which runs on port 11211. Memcache is php extension to access memcached server.
Quote
grep -n -A1 memcache.so /usr/local/cwp/php71/php.ini

It doesn't give answer that means its installed installed. So its perfectly fine.

Offline
***
Re: PHP Warning: PHP Startup: Unable to load dynamic library...
« Reply #28 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