Home > Article > Backend Development > php.ini-development、php.ini-production、php.ini-dist,php.ini-_PHP教程
The article introduces the usage differences between php.ini-development, php.ini-production, php.ini-dist, and php.ini-recommended files after php5.2 to 5.3.10.
Recently After upgrading php from 5.2 to 5.3.10, I found that the previous php.ini-dist and php.ini-recommended were gone, and php.ini-developmen and php.ini-production appeared. Then I learned through Google that due to the version update,
These files have new names:
php.ini-production corresponds to php.ini-recommended
php.ini-development corresponds to php.ini-dist
For PHP versions below 5.3, you usually need to rename php.ini-dist or php.ini-recommended to php.ini.
According to the description, the difference between the two is that php.ini-dist is suitable for developing programs (for testing),
And php.ini-recommended has higher security settings and is suitable for use as a product online.
The current system is becoming more and more user-friendly. In the past, I only used mysql with several different types of configuration methods. Now PHP has also come out with php.ini-development, php.ini-production, and php.ini-dist. , php.ini-recommended three files are used in different industries.