我正在使用Win 7,Apache 2.2和PHP 5.4.4。 我想将doctrine lib和PDO添加到我的本地服务器。
C:\php\
C:\php\extras\doctrine-dbal
C:\php\ext
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()图片
网络应用提供以下错误
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驱动程序的包含路径