[xdebug-general] xdebug for built-in PHP on PowerMac G5 (PPC)

From: Steven Ross <xdebug.org[@]bustspammers.com>
Date: Thu, 3 Mar 2011 01:48:29 -0800

Hi,

I just subscribed to this list, had a quick look at the archive, but
it's not exactly search-friendly. So, sorry if this has been covered
here before.

I have a G5 PowerMac that I use for development running Mac OS X
10.5.8. I don't like the idea of cluttering up my machine with
duplicate stuff and so I've been using the built-in PHP 5.2.14 and
Apache instead of something like MAMP so far.

After finally getting fed up with echoing vars, I tried installing
xdebug, but can not get it to load.

If I enter in Terminal:
   php -m
it shows at the end:
   [Zend Modules]
   Xdebug

But the separate xdebug section in the phpinfo(); output never shows
up and Netbeans can't connect to xdebug.

My complete php.ini is:
============================
zend_extension = /usr/lib/php/extensions/no-debug-non-zts-20060613/
xdebug.so
xdebug.remote_enable=on
xdebug.remote_log="/var/log/xdebug.log"
xdebug.remote_host=localhost
xdebug.remote_handler=dbgp
xdebug.remote_port=9000
============================

xdebug.so is present at the extension path, compiled and installed by
following the instructions at http://xdebug.org/find-binary.php to the
T. Some relevant lines from phpinfo():

Loaded Configuration File: /private/etc/php.ini
PHP Extension: 20060613
Zend Extension: 220060519
Debug Build: no
extension_dir: /usr/lib/php/extensions/no-debug-non-zts-20060613

That all seems correct. Still, it doesn't work. I even tried swapping
the xdebug.so file for one downloaded from Komodo at http://code.activestate.com/komodo/remotedebugging/
  No luck.

The Apache error log shows at each restart:
============================
[warn] Init: Session Cache is not configured [hint: SSLSessionCache]
Failed loading /usr/lib/php/extensions/no-debug-non-zts-20060613/
xdebug.so: (null)
[notice] Digest: generating secret for digest authentication ...
[notice] Digest: done
[notice] Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.7l DAV/2 PHP/
5.2.14 configured -- resuming normal operations
============================

What should I do differently? Could it be that the current xdebug
doesn't run on PPC Macs? If so, where can I find a version that does?

Thanks,
Steven
Received on Thu Mar 03 2011 - 09:48:35 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST