Run etcinit. the following dphp7-fpmrestart prompts Startingphp-fpm [07-Dec-201517: 46: 03] NOTICE: PHPmessage: PHPWarning: PHPStartup: Unabletoloaddynamiclibrary & #039; serverphp7libphpextensionsno -... run/etc/init. d/php7-fpm restart the following prompt
Starting php-fpm [07-Dec-2015 17:46:03] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/server/php7/lib/php/extensions/no-debug-non-zts-20151012/redis. so '-/server/php7/lib/php/extensions/no-debug-non-zts-20151012/redis. so: undefined symbol: zval_used_for_init in Unknown on line 0
Redis version redis-cli 2.6.17
Redis php extensions 2.2.7 (the latest http://pecl.php.net/package/redis download)
Reply content:
Run the following prompt for/etc/init. d/php7-fpm restart:
Starting php-fpm [07-Dec-2015 17:46:03] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/server/php7/lib/php/extensions/no-debug-non-zts-20151012/redis. so '-/server/php7/lib/php/extensions/no-debug-non-zts-20151012/redis. so: undefined symbol: zval_used_for_init in Unknown on line 0
Redis version redis-cli 2.6.17
Redis php extensions 2.2.7 (the latest http://pecl.php.net/package/redis download)
Https://github.com/edtechd/phpredis
Download this file, recompile it, and solve the problem.
Http://pecl.php.net/package/redis version here does not support PHP7.
If you want to use it, you should download this:
Https://github.com/phpredis/phpredis/archive/php7.zip