Win+Nginx+PHP+MySQL环境搭建 php.ini配置
2015-06-04 PHP 811
http://windows.php.net/downloads/releases/archives/
http://archive.apache.org/dist/httpd/
http://archive.apache.org/dist/httpd/binaries/win32/
1.2. 程序安装
PHP配置:下新
http://windows.php.net/downloads/releases/archives/
http://archive.apache.org/dist/httpd/
http://archive.apache.org/dist/httpd/binaries/win32/
1.2. 程序安装
PHP配置:下新建文件夹PHP5,压缩包解压至此目录,把php.ini-production重命名为php.ini,用编辑器打开此文件(最好不要用记事本打开),此文件为PHP配置文件。
查找定位至:; extension_dir = "./" ,将前面的分号去掉并修改为:extension_dir = "ext"
查找定位至:;extension=php_gd2.dll,将前面的分号去掉为:extension=php_gd2.dll
查找定位至:;extension=php_mbstring.dll,将前面的分号去掉为:extension=php_mbstring.dll
查找定位至:;extension=php_mysql.dll,将前面的分号去掉为:extension=php_mysql.dll
查找定位至:;extension=php_mysqli.dll,将前面的分号去掉为:extension=php_mysqli.dll
查找定位至:;extension=php_pdo_mysql.dll,将前面的分号去掉为:extension=php_pdo_mysql.dll
查找定位至:;cgi.force_redirect = 1,将前面的分号去掉为:cgi.force_redirect = 1
查找定位至:;cgi.fix_pathinfo=1,将前面的分号去掉为:cgi.fix_pathinfo=1
查找定位至:;cgi.rfc2616_headers = 0,将前面的分号去掉为:cgi.rfc2616_headers = 1
很赞哦! (0)
相关文章
文章评论
-
-
-
0条评论