Home > Backend Development > PHP Tutorial > The difference between php.ini-dist and php.ini-recommended files in php_PHP tutorial

The difference between php.ini-dist and php.ini-recommended files in php_PHP tutorial

WBOY
Release: 2016-07-13 17:08:32
Original
897 people have browsed it

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.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/629833.htmlTechArticleIn the php decompression package file we found two php.ini files, php.ini-dist and php .ini-recommended, so what are the uses of these two files? Let me give you a brief introduction...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template