Problem with php and memcached

Problem with php and memcached

by David Ordóñez -
Number of replies: 1

Hello everyone, again needing your help...

I have a development server for Moodle 3.0.2 on RHEL 7 server. We care about installing all software from repos and nothing 'compiled'.

Using remi, epel and redhat repos we installed httpd, mariadb, memcached, libmemcached, php, php-fpm and all php packages requiered by moodle, and included php-pecl-memcache and finally php-pecl-memcached.

The problem is this message in etc/httpd/log/error.log...

PHP Warning:  PHP Startup: Unable to load dynamic library       '/usr/lib64/php/modules/memcached.so' - /usr/lib64/php/modules/memcached.so: undefined symbol: compiler_globals in Unknown on line 0

I understand that php is not loading memcached extension, but the extension path in php.ini is correct and file is in place.

Finally when trying to confgure memmcached instances in moodle i get this message again in logs:

PHP Fatal error Class 'Memcached' was not found in /appser/moodle/admin/cache/stores/memcached/lib.php on line 172

It doesn't happen with a memcache instance.

Anyone can explain if this is a dependency or version problem?, althought every comment is really useful....

Thanks!!

Average of ratings: -