javismiles
Basic Pleskian
Good day friends
Centos 7.5, Plesk Onyx, I have memcache.so extension installed for a php 5.4 website, but now I needed to also install the other memcached.so extension for a php 7.1 website, so I went to this great article:
How to install/uninstall memcached or memcache extension for PHP on Plesk server?
and installed it.
I can now see that doing
find / -name "memcac*.so"
that I have both:
/opt/plesk/php/7.1/lib64/php/modules/memcached.so
/usr/lib64/php/modules/memcache.so
so the installation worked well
I Can also see that inside this folder
/opt/plesk/php/7.1/etc/php.d
there is a memcached.ini file which inside has:
extension=memcached.so
This is all perfect. The problem comes now:
After restarting apache with
systemctl restart httpd
and of course doing all the other commands that the article says
I run phpinfo() and for some reason where it says "Additional .ini files parsed", plesk is not reading that memcached.ini file that is right there in between the other ones that yes it is reading! very odd,
so memcached is not appearing in phpinfo() because i think its not reading that memcached.ini file but i dont understand it because php info clearly says:
Scan this dir for additional .ini files: /opt/plesk/php/7.1/etc/php.d
and inside that folder is that memcached.ini which is not reading!
help please, thank you
Centos 7.5, Plesk Onyx, I have memcache.so extension installed for a php 5.4 website, but now I needed to also install the other memcached.so extension for a php 7.1 website, so I went to this great article:
How to install/uninstall memcached or memcache extension for PHP on Plesk server?
and installed it.
I can now see that doing
find / -name "memcac*.so"
that I have both:
/opt/plesk/php/7.1/lib64/php/modules/memcached.so
/usr/lib64/php/modules/memcache.so
so the installation worked well
I Can also see that inside this folder
/opt/plesk/php/7.1/etc/php.d
there is a memcached.ini file which inside has:
extension=memcached.so
This is all perfect. The problem comes now:
After restarting apache with
systemctl restart httpd
and of course doing all the other commands that the article says
I run phpinfo() and for some reason where it says "Additional .ini files parsed", plesk is not reading that memcached.ini file that is right there in between the other ones that yes it is reading! very odd,
so memcached is not appearing in phpinfo() because i think its not reading that memcached.ini file but i dont understand it because php info clearly says:
Scan this dir for additional .ini files: /opt/plesk/php/7.1/etc/php.d
and inside that folder is that memcached.ini which is not reading!
help please, thank you