Directly # find-namephp.ini can not be found, because the installation of php does not copy the configuration file php version changes after the ini file name has changed php. ini-production corresponds to php. ini-recommendedphp.ini-development corresponds to php. what are the differences between ini-dist? Due to version updates, these files have a new name: php. ini-p
Directly # find/-name php. ini cannot be found because the ini file name is changed to php after the php version of the configuration file is not copied during php installation. ini-production corresponds to php. ini-recommended php. ini-development corresponds to php. what are the differences between ini-dist? Due to version updates, these files have a new name: php. ini-p
Direct
# Find/-name "php. ini"
Cannot be found because the configuration file is not copied during php installation.
After the php version changes, the ini file name will change.
Php. ini-production corresponds to php. ini-recommended
Php. ini-development corresponds to php. ini-dist
What are the differences between them?
Due to version updates, these files have a new name:
Php. ini-production corresponds to php. ini-recommended
Php. ini-development corresponds to php. ini-dist
You usually need to rename php. ini-dist or php. ini-recommended to php. ini.
The difference between the two is that php. ini-dist is suitable for development programs (for testing ),
Php. ini-recommended has a high security setting, which is suitable for product launch.
I usually change php. ini-recommended or the new php. ini-production to php. ini to ensure that the test environment (local) is consistent with the formal environment (online.
You need to go back to the php installation directory
# Cp php. ini-recommended/usr/local/php/lib/php. ini
Or
# Cp php. ini-production/usr/local/php/lib/php. ini