Rover12421's Blog

The End.

php.ini-dist or 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
andhttp://php.net/manual/en/security.php.

Comments