ICBC's PHP payment extension,
Php-m can see, but the phpinfo () page is not found, php.ini file is correct.
has been restarted or httpd, PHP-FPM also closed, and then open or not,
System: CENTOS7
php:5.4.0
Do you need any special settings for PHP-FPM? PHP is compiled and installed by itself
Reply content:
ICBC's PHP payment extension,
Php-m can see, but the phpinfo () page is not found, php.ini file is correct.
has been restarted or httpd, PHP-FPM also closed, and then open or not,
System: CENTOS7
php:5.4.0
Do you need any special settings for PHP-FPM? PHP is compiled and installed by itself
Is that the same one php
? php -i
See if the same configuration
A lot of such questions.
Php-cli and php-cgi's php.ini load the same one?
extension=xxx.so
did you add the php.ini to the house?
After changing the php.ini, did the Web server restart? Did the restart really succeed?
Is there more than one PHP version in the system?
are PHP php-cli and php-cgi the same version?
Thank you for inviting me. The corresponding .so
confirmation is added in the php.ini file.
1, check whether there are multiple versions of PHP
2, is not the use of different php.ini
3. Did not restart Apache
Php-m and phpinfo should be different profiles that you can see in php-m, stating that you only loaded this in the Php-i|grup php.ini configuration file. So this file, you still have to be in phpinfo (). This mode below see his loaded configuration file location, and then also Add. so file, after the addition, restart the service, the perfect solution, I used to engage in swoole expansion has also met
This kind of problem is usually the web version and the CLI version of the configuration file inconsistency
PHP.ini path for Web Edition
/etc/php.ini
CLI version of the php.ini path
终端执行php -i|grep Loaded\ Configuration\ File
Check it out.