@EnriqueR and @Everyone interested,
I have compiled and tested a redis module that works like a charm on PHP 7.0.1.
I have added a ZIP file, with two files:
- redis.so (the redis module for PHP 7.0.1)
- redis.php (a test script to check yourselves whether the module is working)
The module can be installed by following the steps:
a) upload the ZIP file to a directory on your server
b) run from the command line: echo "extension=<path to directory>/redis.so" > /opt/plesk/php/7.0/etc/php.d/redis.ini
Note: do not forget to use the proper path to the directory in which the file redis.so resides. You can use any directory to your liking.
c) run from the command line: plesk bin php_handler --reread
and that´s all, unless you want to use the test script:
d) move redis.php to the httpdocs directory of any domain to your liking,
e) open a browser and access
http://<domain>/redis.php and the output should indicate a "yes".
As a final remark, note that this module
- is based upon phpredis
- has been created and tested very quickly, no guarantees, but it should work like a charm,
- is forwards compatible to PHP version 7.0.3 (dev),
- is NOT an official Plesk module (!)
In the case of questions, just mail, post or start a personal conversation with me.
Regards....