php.ini-dist 和 php.ini-recommended 的不同
根据 php.ini-dist 的说明,二者不同之处在于 php.ini-dist 适合开发程式使用,而 php.ini-recommended 拥有较高的安全性设定,则适合上线当产品使用。
原文说明如下:
This is the default settings file for new PHP installations.
By default, PHP installs itself with a configuration suitable for
development purposes, and *NOT* for production purposes.
For several security-oriented considerations that should be taken
before going online with your site, please consult php.ini-recommended
and http://php.net/manual/en/security.php.