本文介绍了如何使PDO在PHP 5.4的WAMP上运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使PDO在PHP 5.4的WAMP上工作?我已经在WAMP(2.2d 32位)中安装了PHP 5.4.我的PHP.ini文件启用了它(在5.4 phpForApache.ini文件内部).我下载了用于Windows的最新PHP 5.4 Thread Safe.
How do I get PDO to work on WAMP with PHP 5.4?I have installed PHP 5.4 inside of WAMP (2.2d 32-bit). My PHP.ini file has it enabled (Inside of the 5.4 phpForApache.ini file). I downloaded the latest PHP 5.4 Thread Safe for windows.
但是我无法使PDO扩展正常工作.这是我的php信息文件:
But I can't get the PDO extension to work. Here is my php info file:
Configure Command cscript /nologo configure.js "--enable-snapshot-build"
"--disable-isapi" "--enable-debug-pack" "--disable-nsapi" "--without-mssql"
"--without-pdo-mssql" "--without-pi3web"
"--with-pdo-oci=C:\php- sdk\oracle\instantclient10\sdk,shared"
"--with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=C:\php- sdk\oracle\instantclient11\sdk,shared"
"--enable-object-out-dir=../obj/" "--enable-com-dotnet"
"--with-mcrypt=static" "--disable-static-analyze" "--with-pgo"
PDO drivers no value
推荐答案
文章: http://www.bluefrog.ca/2012/03/adding-php-5-4-0-final-support-to-wampserver/
Xdebug
APC
PDO drivers
Curl
etc…
我建议分开安装Apache 2,Mysql,PHP.而且工作正常.
I will suggest installing Apache 2, Mysql, PHP separately. And its working just fine.
这篇关于如何使PDO在PHP 5.4的WAMP上运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!