简体   繁体   English

PHP 启动:无法加载动态库 'C:\\xampp\\php\\ext\\php_oci8_12c.dll' - 找不到指定的程序

[英]PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_oci8_12c.dll' - The specified procedure could not be found

we face a big problem to connect oracle server in php What i done我们在php中连接oracle服务器面临一个大问题我做了什么

  • Setp 1:第 1 步:

    Install Windows 7 32bit安装 Windows 7 32 位

  • Step 2 :第2步 :

    install XAMPP 32 ( Includes: Apache 2.4.29, PHP 7.1.11, phpMyAdmin 4.7.4, OpenSSL 1.0.2, XAMPP Control Panel 3.2.2)安装 XAMPP 32(包括:Apache 2.4.29、PHP 7.1.11、phpMyAdmin 4.7.4、OpenSSL 1.0.2、XAMPP 控制面板 3.2.2)

  • Step :步骤:

    Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications Download instantclient-basic-nt-12.2.0.1.0.zip and extract it into c drive with instantclient_12_2 name Instant Client Package - Basic:运行OCI、OCCI和JDBC-OCI应用程序所需的所有文件下载instantclient-basic-nt-12.2.0.1.0.zip并将其解压到名为instantclient_12_2的c盘

  • Step 5:第 5 步:

    Set environment in path "c:\\instantclient_12_2"在路径“c:\\instantclient_12_2”中设置环境

  • Step 6:第 6 步:

    Edit php.ini file and enable extension=php_oci8_12c.dll (By removing semicolon ) from front编辑 php.ini 文件并从前面启用extension=php_oci8_12c.dll (通过删除分号)

  • Step 7 :第 7 步:

    Restart my apache server , after that when i check phpinfo() it not showing any oci8 module重新启动我的 apache 服务器,之后当我检查phpinfo() 时它没有显示任何 oci8 模块

Then i check my error log i see this然后我检查我的错误日志我看到了这个

[30-Nov-2017 13:42:43 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_oci8_12c.dll' - The specified procedure could not be found.

Can any one help me how to resolve this issue ,任何人都可以帮助我如何解决这个问题,

Thanks in advance , and sorry for my English.提前致谢,对不起我的英语。

On the Instant Client download page , the next line after the download link for instantclient-basic-nt-12.2.0.1.0.zip states:Instant Client 下载页面上instantclient-basic-nt-12.2.0.1.0.zip下载链接后的下一行指出:

The 12.2 Basic package requires the Microsoft Visual Studio 2013 Redistributable . 12.2 Basic 包需要Microsoft Visual Studio 2013 Redistributable

As you haven't listed that in what you've tried, installing it should be your next step.由于您没有在您尝试过的内容中列出它,安装它应该是您的下一步。

You should also reboot to ensure that your changes to the environment PATH are applied system wide (eg to the Apache service).您还应该重新启动以确保您对环境 PATH 的更改在系统范围内应用(例如应用到 Apache 服务)。

I've come with a solution.我带来了一个解决方案。

copy oci.dll , oraociei12.dll , and oraons.dll to apache/bin folder and replace the existing one.oci.dlloraociei12.dlloraons.dllapache/bin文件夹并替换现有文件夹。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法加载动态库'C:\\\\ xampp \\\\ php \\\\ ext \\\\ php_oci8_12c.dll。 指定的模块无法找到 - Unable to load dynamic library 'C:\\xampp\\php\\ext\\php_oci8_12c.dll. The specified module could not be found 无法加载动态库 php_oci8_12c.dll - Unable to load dynamic library php_oci8_12c.dll php_oci8_12c.dll-找不到指定的模块 - php_oci8_12c.dll - The specified module could not be found 无法加载动态库'C:\\ xampp \\ php \\ ext \\ php_imagick.dll'-找不到指定的模块 - Unable to load dynamic library 'C:\xampp\php\ext\php_imagick.dll' - The specified module could not be found PHP警告:PHP启动:无法加载动态库'\\ xampp \\ php \\ ext \\ php_mailparse.dll' - 找不到指定的模块 - PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_mailparse.dll' - The specified module could not be found PHP启动:无法加载动态库'D:\\ xampp \\ php \\ ext \\ php_mongo.dll'-找不到指定的模块 - Php Startup : Unable to load dynamic library 'D:\xampp\php\ext\php_mongo.dll ' - The specified module could not be found PHP启动:无法加载动态库'C:\\\\ xampp \\\\ php \\\\ ext \\\\ php_sqlsrv_7_nts.dll' - PHP Startup: Unable to load dynamic library 'C:\\xampp\\php\\ext\\php_sqlsrv_7_nts.dll' XAMPP错误PHP intl无法加载“无法加载动态库'C:\\\\ xampp \\\\ php \\\\ ext \\\\ php_intl.dll'-找不到指定的模块” - XAMPP Error PHP intl not loading “Unable to load dynamic library 'C:\\xampp\\php\\ext\\php_intl.dll' - The specified module could not be found” 无法加载动态库 'parallel'(尝试:C:\\xampp\\php\\ext\\parallel(找不到指定的模块。) - Unable to load dynamic library 'parallel' (tried: C:\xampp\php\ext\parallel ( The specified module could not be found.) PHP 启动:无法加载动态库“oci8_12c” - PHP Startup: Unable to load dynamic library 'oci8_12c'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM