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.

Leave a reply:

Your email address will not be published.

Site Footer

Sliding Sidebar