PHP Warning: PHP Startup: Unable to load dynamic library...

Started by venty, September 05, 2018, 09:44:02 AM

Previous topic - Next topic

venty


bullten

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 :)

venty


venty

Quote from: venty on September 07, 2018, 12:04:41 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?!?

Sandeep

please don't modify cwp configuration else you've lots of problem.

venty

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

bullten

There is no need to reinstall CWP

run as below

yum reinstall cwpphp -y
service cwp-phpfpm restart

venty


bullten

The above command will reset cwp php to original state as it should be.

venty

Quote from: bullten on September 07, 2018, 11:02:46 AM
There is no need to reinstall CWP

run as below

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

bullten

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?

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

yes

Quote2. 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.

venty

Quote from: bullten on September 06, 2018, 09:16:03 PM
what does this gives?

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   yum reinstall cwpphp -y, service cwp-phpfpm restartand ,  then executed the command quoted above 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

bullten

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.

venty

Does that mean I have to have both memcached and memcache???
Somewhere I read that memcache is only a version of PHP 5.6