簡體   English   中英

無法加載動態庫'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

我正在使用netbeans + xampp + Xdebug

我在php.ini中設置了以下xdebug配置

[XDebug]
zend_extension = "C:\Program Files\PHP5\ext\php_xdebug-2.4.1-5.4-vc9-nts.dll"

xdebug.default_enable=1
xdebug.remote_mode=req
xdebug.idekey="netbeans-xdebug"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_autostart=0
xdebug.remote_connect_back=0

我的c:\\ xampp \\ php文件夾包含所有必需的dll

我的php_oci8_12c.dll文件也放在C:\\ xampp \\ php \\ ext上

從xampp重啟apache服務器。 我在apache上收到此錯誤日志

[Sun Sep 18 01:49:21.075508 2016] [ssl:warn] [pid 9372:tid 540] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Sep 18 01:49:21.191401 2016] [core:warn] [pid 9372:tid 540] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
Failed loading C:\Program Files\PHP5\ext\php_xdebug-2.4.1-5.4-vc9-nts.dll
ww.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning:  PHP Startup: mysql: Unable to initialize module\nModule compiled with module API=20131226\nPHP    compiled with module API=20151012\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\xampp\\php\\ext\\php_oci8_12c.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Sun Sep 18 01:49:21.360576 2016] [mpm_winnt:notice] [pid 9372:tid 540] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.2 configured -- resuming normal operations
[Sun Sep 18 01:49:21.360576 2016] [mpm_winnt:notice] [pid 9372:tid 540] AH00456: Apache Lounge VC14 Server built: Dec  9 2015 10:17:39
[Sun Sep 18 01:49:21.360576 2016] [core:notice] [pid 9372:tid 540] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Sep 18 01:49:21.360576 2016] [mpm_winnt:notice] [pid 9372:tid 540] AH00418: Parent: Created child process 8204
[Sun Sep 18 01:49:22.191842 2016] [ssl:warn] [pid 8204:tid 504] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
Failed loading C:\Program Files\PHP5\ext\php_xdebug-2.4.1-5.4-vc9-nts.dll
ww.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning:  PHP Startup: mysql: Unable to initialize module\nModule compiled with module API=20131226\nPHP    compiled with module API=20151012\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\xampp\\php\\ext\\php_oci8_12c.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Sun Sep 18 01:49:22.494042 2016] [mpm_winnt:notice] [pid 8204:tid 504] AH00354: Child: Starting 150 worker threads.
[Sun Sep 18 01:49:37.124565 2016] [ssl:warn] [pid 800:tid 420] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Sep 18 01:49:37.240484 2016] [core:warn] [pid 800:tid 420] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

我的php_xdebug-2.4.1-5.4-vc9-nts.dll文件已正確放入

C:\\ Program Files \\ PHP \\ v5.6文件夾

我的網址也像xdeug路徑那樣: http:// localhost / wordpress /?XDEBUG_SESSION_START = netbeans-xdebug

一篇文章給出了將icu * .dll文件移動到Apache的bin目錄的解決方案..但是它們已經存在,這個錯誤日志告訴我錯過了什么? 請建議。 問候

這可能是apache使用的端口問題。

嘗試這些步驟。

  1. 如果您使用Skype禁用它。
  2. 嘗試以管理員身份啟動xampp
  3. 打開xampp並單擊Config,然后單擊Services&Ports Settings 將主端口80更改為8080 ,將SSL端口443更改為4433 然后保存並重新啟動xampp
  4. 您還可以通過編輯.config文件來更改apache的默認端口設置。 為此,請按照以下步驟操作
    • 打開xampp單擊Config按鈕,然后選擇httpd.conf 現在這將用記事本打開。 現在搜索Listen 80並將其更改為Listen 8080
    • 之后搜索ServerName localhost:80並將其更改為ServerName localhost:8080
    • 保存並退出。
    • 現在再次單擊Config並選擇httpd-ssl.conf 搜索Listen 443<VirtualHost _default_:443>ServerName www.example.com:443443更改為4433保存並退出。
    • 最后重啟你的xampp

注意 :如果更改默認端口地址,則需要提及正在運行的apache下的端口號。 例如,在瀏覽器中使用http://localhost:8080/project_name/index.php

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM