httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <i.ga...@brainsware.org>
Subject Re: [users@httpd] Fails to load xdebug - why?
Date Wed, 09 Mar 2011 16:07:47 GMT


----- Original Message -----
> I'm trying to install the debugger extension Xdebug
> http://xdebug.org/
> for PHP on the preinstalled Apache 2.0 running on my local Mac. I
> tried the built-in PHP installation and also the Entropy PHP package
> http://www.entropy.ch/software/macosx/php/
>   I got the extension from the Xebug site and also a precompiled
> version from Komodo http://code.activestate.com/komodo/
> remotedebugging/  It's a PPC Mac and the extension is said to be
> universal binary, i.e. works on PPC Macs.
> 
> Xdebug never shows up in the phpinfo(); output, even though it loads
> the correct php.ini file (double-checked in output) and the .ini file
> specifies the extension correctly.


Hi Steven,

I'm not entirely sure we can help you in this regard.
None of the above is in any way httpd centric. It's either a problem
specific to Mac OS X, or specific to Xdebug on OS X.
In any case the Xdebug or PHP folks can help you:

http://www.xdebug.org/support.php
http://php.net/mailing-lists.php

 
> No matter what PHP/Xdebug combo, when I restart Apache, I see
> something like this in my Apache error log:
> 
> [Fri Mar 04 12:26:49 2011] [warn] Init: Session Cache is not
> configured [hint: SSLSessionCache]
> Failed loading /usr/local/php5/lib/php/extensions/no-debug-non-
> zts-20060613/xdebug.so: (null)

Two things come to my mind: You're running httpd worker? PHP is
compiled with threading support (ZTS)?

Are you loading xdebug as
zend_extension=/usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so
or as
extension=xdebug.so

? -- note it should be zend_extension=...

> [Fri Mar 04 12:26:50 2011] [notice] Digest: generating secret for
> digest authentication ...
> [Fri Mar 04 12:26:50 2011] [notice] Digest: done
> [Fri Mar 04 12:26:50 2011] [notice] Apache/2.2.14 (Unix) mod_ssl/
> 2.2.14 OpenSSL/0.9.7l DAV/2 PHP/5.2.9 configured -- resuming normal
> operations
> 
> Is there any way to get more info about why it failed loading? The
> error message just says (null) - not very helpful. Any other ideas?


(Note that I would usually answer the question if I knew what's up..)
 
> Thanks,
> Steven

i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message