In the php decompression package file, we found that there are two php.ini files, php.ini-dist and php.ini-recommended, then these two files use What is it? Let me give you a brief introduction below.
When installing PHP under Windows, you usually need to rename php.ini-dist or php.ini-recommended to php.ini. According to the description, the difference between the two
The reason is that php.ini-dist is suitable for program development (for testing), while php.ini-recommended has higher security settings and is suitable for online use
When used as a product. I usually change php.ini-recommended to php.ini to ensure that the test environment (local) is consistent with the official environment (online).
In version PHP5.3.1, the php5.ini-dist (php.ini-recommended) introduced online cannot be found
Due to version updates, these files have new names: php.ini-production corresponds to php.ini-recommendedphp.ini-development corresponds to
The other steps for php.ini-dist are still the same, and the configuration file still needs to be modified, such as the path.