2016-09-17 195 views
1

我使用NetBeans + XAMPP + Xdebug的無法加載動態庫'C:\ xampp \ php \ ext \ php_oci8_12c.dll。指定的模塊找不到

我已經設置了以下在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 \分機

在從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文件中正確的地方:\ Program Files文件\ PHP \ V5.6文件夾

我的網址還attech xdeug路徑精細 像: http://localhost/wordpress/?XDEBUG_SESSION_START=netbeans-xdebug

一個後給了一個解決方案.dll文件移動ICU *到Apache的bin目錄..但他們已經在那裏 什麼這個錯誤日誌告訴我我失蹤了?請建議。問候

回答

0

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

嘗試這些步驟。

  1. 如果您使用Skype禁用它。
  2. 開始嘗試xampp以管理員身份
  3. 打開xampp,並點擊配置然後點擊服務&端口設置。將主端口80更改爲8080,將SSL端口443更改爲4433。然後保存並重新啓動xampp
  4. 您還可以通過編輯.config文件來更改apache的默認端口設置。要做到這一點遵循配置按鈕下面的步驟
    • 打開xampp單擊並選擇httpd.conf。現在這將用記事本打開。現在搜索Listen 80和更改爲Listen 8080
    • 是搜索ServerName localhost:80後,並更改爲ServerName localhost:8080
    • 保存並退出。
    • 現在再次點擊配置並選擇httpd-ssl.conf。搜索Listen 443,<VirtualHost _default_:443>ServerName www.example.com:443443更改爲4433保存並退出。
    • 最後重新啓動您的xampp

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

相關問題