问题是,我有一个客户端要求它在 Oracle DB 下运行的应用程序。
我已经安装了 Client 11c 以及 Oracle 数据库。
我的 PHP 是使用以下配置构建的:
"--with-pdo-oci=c:\php-snap-build\deps_aux\oracle\x64\instantclient_12_1\sdk,shared"
所以我将即时客户端复制到这个文件夹中,并将其也放入系统路径中。
我仍然得到:
PS C:\php> php -m
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_oci' (tried: ./ext\pdo_oci (The specified module could not be found.), ./ext\php_pdo_oci.dll (%1 is not a valid Win32 application.)) in Unknown on line 0
尝试使用 display_startup_errors = on 运行 php -m
我已经尝试下载其他 PHP 二进制文件,并查看了互联网的每一个可能的角落。
谁能帮我解决这个问题?
PS PDO 是必须的。
提前致谢!