Home  >  Article  >  Database  >  IIS+PHP+MySQL环境中,PHP.INI要修改的几处_MySQL

IIS+PHP+MySQL环境中,PHP.INI要修改的几处_MySQL

WBOY
WBOYOriginal
2016-06-01 13:51:40839browse

源地址:http://hi.baidu.com/zhixianliu/blog/item/dbfc63f5efbdfd2cbd310946.html

output_buffering = On

如果使用默认的 4096,那么 PHP 在 IIS6 里面性能将非常糟糕

register_globals = Off

extension_dir = "c:/PHP/ext"

upload_max_filesize = 100M

extension=php_mbstring.dll

extension=php_mysql.dll

mysql.default_port = 3306(重点,之前我就忘了加,一直出现服务器500错误.)

mysql.default_host = localhost

mysql.default_user = root

Statement:
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