Home > php教程 > php手册 > php.ini-development、php.ini-production、php.ini-dist,php.ini-recommended三

php.ini-development、php.ini-production、php.ini-dist,php.ini-recommended三

WBOY
Release: 2016-05-25 16:46:48
Original
883 people have browsed it

文章介绍了在php5.2到5.3.10后出现了php.ini-development、php.ini-production、php.ini-dist,php.ini-recommended三个文件用法区别.

最近把php从5.2升级到5.3.10,发现以前的php.ini-dist与php.ini-recommended不见了,出现了php.ini-developmen和php.ini-production,然后通过谷歌得知由于版本更新,

这些文件有了新的命名:

php.ini-production对应于php.ini-recommended
php.ini-development对应于php.ini-dist
Copy after login

5.3以下的PHP版本,通常要将php.ini-dist或php.ini-recommended重命名为php.ini.

根据说明,二者不同之处在于 php.ini-dist 适合开发程式使用(测试用),而 php.ini-recommended 拥有较高的安全性设定,则适合上线当产品使用.

现在的系统越来越人性化了,以前我只用过mysql有几个不同类型的配置方法,如今php也出来了php.ini-development、php.ini-production、php.ini-dist,php.ini-recommended三个文件分别用于不同行业哈.

本文地址:

转载随意,但请附上文章地址:-)

Related labels:
php
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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template