安装PHP

WBOY
Release: 2016-06-23 14:36:45
Original
856 people have browsed it

来自:http://www.xiaoxiaoyu.cn/AMP/224.html
在下载php后,进行配置的时候,会出现两个php.ini:php.ini-dist和php.ini-recommended,那有什么不同呢?
        http://www.php.net/manual/zh/install.windows.manual.php提到,php.ini-recommended的安全等级比php.ini-dist高。默认是把display_errors 设置为 off,将 magic_quotes_gpc 设置为Off等等。而相对的php.ini-dist都是默认的配置。
        所以说,如果你只是想进行web测试和普通开发,使用php.ini-dist,不然就是用php.ini-recommended 

php.ini-development 开发用的

php.ini-produciton 生产机用的
这两个挑一个重名为php.ini,拷贝到/ usr/ local/ lib目录下 (linux系统的)
Related labels:
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