/data/home/server/php-7.0.0/etc
, but this directory does not exist find
The command search also doesn’t even have a php.ini filephp -i | grep php.ini
is also displayed in /data/home/server/php-7.0.0/etc
/data/home/server/php-7.0.0/etc
, but this directory does not exist find
The command search also doesn’t even have a php.ini filephp -i | grep php.ini
is also displayed in /data/home/server/php-7.0.0/etc
You need to find php.ini-development or php.ini-production in the php compilation directory and copy it to /data/home/server/php-7.0.0/etc and rename it to php.ini
Or you can download a source code package from the php official website, copy php.ini-development or php.ini-production under the source code package to the directory /data/home/server/php-7.0.0/etc, and rename it for php.ini
When compiling php, some php parameters have been specified. You can view these parameters through phpinfo
Isn’t it possible to directly yum install php7-redis to install the extension? Then restart php-fpm