2016-09-17 227 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

相关问题