无法加载Doctrine libriles和PDO驱动程序

时间:2012-07-10 01:49:29

标签: doctrine pdo php

我正在使用Win 7,Apache 2.2和PHP 5.4.4。 我想将doctrine lib和PDO添加到我的本地服务器。

  • PHP安装路径:C:\php\
  • doctrine lib path:C:\php\extras\doctrine-dbal
  • PDO驱动程序路径:C:\php\ext
  • Apache2.2路径:C:\Apache

的php.ini

; Windows: "\path1;\path2"
include_path = ".;C:\php\extras;C:\php\extras\doctrine-dbal"
extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
extension=php_pdo_odbc.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pgsql.dll

phpinfo()图片

PDO drivers

Include path

网络应用提供以下错误

Warning: require_once(Doctrine/Common/ClassLoader.php): failed to open stream: No such file or directory in C:\Apache\htdocs\stack\UMS\classes\class.dbextractor.php on line 2

Fatal error: require_once(): Failed opening required 'Doctrine/Common/ClassLoader.php' (include_path='.;C:\php\pear') in C:\Apache\htdocs\stack\UMS\classes\class.dbextractor.php on line 2

如何在php.ini文件中更改doctrine和PDO驱动程序的包含路径

0 个答案:

没有答案