The PHP payment extension of ICBC can be viewed by php-m, but the phpinfo () page cannot be found. The php. ini file is correct. I have restarted or httpd, and php-fpm is also disabled. then I still cannot enable it. Do I need to set the system: centos7php: 5.4.0php-fpm? Php is...
ICBC's PHP payment extension,
Php-m can be viewed, but the phpinfo () page cannot be found. The php. ini file is correct.
It has already restarted or httpd, and php-fpm has also been disabled. then it still cannot be enabled,
System: centos7
Php: 5.4.0
Does php-fpm require special settings? Php is compiled and installed by yourself.
Reply content:
ICBC's PHP payment extension,
Php-m can be viewed, but the phpinfo () page cannot be found. The php. ini file is correct.
It has already restarted or httpd, and php-fpm has also been disabled. then it still cannot be enabled,
System: centos7
Php: 5.4.0
Does php-fpm require special settings? Php is compiled and installed by yourself.
Is the samephp
?php -i
Check whether the configuration is the same.
A lot of such problems ..
Is php-cli the same as php-cgi's php. ini?
Someextension=xxx.so
Add to php. ini?
After changing php. ini, has the web server restarted? Is the restart successful?
Does the system contain multiple php versions?
Is php-cli the same version as php-cgi?
Thank you for your invitation. Corresponding.so
Check whether the php. ini file has been added.
1. check whether multiple php versions exist.
2. are different php. ini files used?
3. have you not restarted apache?
Php-m and phpinfo should be different configuration files. what you can see in php-m indicates that you only use php-I | grup php. this is added to the configuration file ini. so this file, you have to go to phpinfo (). in this mode, you can see the location of the configuration file that he loads, and then add it. after adding the so file, restart the service and solve the problem perfectly. I have encountered swoole expansion before.
This type of problem generally occurs when the configuration files for the web and cli versions are inconsistent.
Php. ini path for the web version
/etc/php.ini
Php. ini path for cli
Terminal executes php-I | grep Loaded \ Configuration \ File
Check it.