摘要: 复制mysql安装目录下libMySQL.dll到C:\windows\system32\目录php目录下php.ini-development改为php.ini移动到C:\windows\目录php.ini修改:extension_dir = "C:\php\ext"extension=php_mbstring.dllextension=php_mysql.dllextension=php_mysqli.dllcgi.force_redirect = 1cgi.fix_pathinfo=1fastcgi.impersonate = 1fastcgi.logging = 0 阅读全文
posted @ 2012-12-05 16:09 晓 山 阅读(128) 评论(0) 推荐(0)
摘要: 1.检查php.ini ;extension=php_mysqli.dll是不是已经启用2.检查php.ini extension_dir地址是不是指向了php目录的ext目录下3.检查libmysql.dll有没有拷贝到windows目录下4.检查php安装目录ext目录下,php_mysqli.dll文件是不是存在5.查看php详细页面<?php phpinfo(); ?>,看看mysql和mysqli是不是已经启动 阅读全文
posted @ 2012-12-05 15:45 晓 山 阅读(253) 评论(0) 推荐(0)
摘要: 在执行phpinfo();出现Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most like 阅读全文
posted @ 2012-12-05 15:40 晓 山 阅读(291) 评论(0) 推荐(0)
摘要: 在家里,不得言在使用VMware虚拟机进行2003下的FastCGI和php 5.3.6配置测试时,因有好多补丁没有打,甚至.net 2.0都没有安装,因此出现了一系列的错误,本文就是其错误之一:The FastCGI Handler was unable to process the request.错误显示为:IIS6 fastcgi安装php 出现 1413错误C:\WINDOWS\system32\inetsrv\fastcgi.ini 的设置,要不就是编码的错误,别复制,最好自己写。FastCGI ErrorThe FastCGI Handler was unable to proc 阅读全文
posted @ 2012-12-05 14:00 晓 山 阅读(599) 评论(0) 推荐(0)
摘要: 在Windows IIS 6.0下配置PHP,通常有CGI、ISAPI和FastCGI三种配置方式,这三种模式都可以在IIS 6.0下成功运行,下面我就讲一下这三种方式配置的区别和性能上的差异。 1、CGI(通用网关接口/Common Gateway Interface)一般是可执行程序,例如EXE文件,和WEB服务器各自占据着不同的进程,而且一般一个CGI程序只能处理一个用户请求。这样,当用户请求数量非常多时,会大量占用系统的资源,如内存、CPU时间等,造成效能低下。 2、ISAPI(Internet Server Application Program Interface)是微软提供的.. 阅读全文
posted @ 2012-12-05 13:53 晓 山 阅读(181) 评论(0) 推荐(0)