Hi!
On Wed, 18 Dec 2013, Christopher Heneghan wrote:
> I am hoping that you might have the time to read this email and let me
> know if you have any advice that I might be able to follow.
>
> I have spent the last 48 hours trying to get Xdebug to work in my
> local environment. I have succeeded with the set up before but since
> upgrading to OSX Mavericks I have not been able to use it. A little
> background info:
>
> Xdebug does not appear in phpinfo.
>
> MAMP PRO 2.2
> Php v:
> PHP 5.4.19 (cli) (built: Sep 18 2013 14:26:26)
>
> Copyright (c) 1997-2013 The PHP Group
>
> Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
>
> with XCache v2.0.1, Copyright (c) 2005-2012, by mOo
>
> with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans
>
>
> php.ini:
> [xdebug]
> zend_extension="/Applications/MAMP/bin/php/php5.4.19/lib/php/extensions/no-d
> ebug-non-zts-20100525/xdebug.so"
> xdebug.profiler_output_dir = "/tmp/xdebug/"
I would probably not use quotes.
> xdebug.profiler_enable = On
> xdebug.remote_enable=On
> xdebug.remote_host="localhost"
> xdebug.remote_port=9000
> xdebug.remote_handler=³dbgp"
Is that a paste error, or is there really a weird charactor before the
"d" in dbgp there? (Looks like a superscript 3 to me).
>
> Calling php m shows two instances one with lower case x i.e. xdebug under
> PHP and Xdebug under zend is it noteworthy that there is a case difference
> in the two mentions here?
No, but that does mean that everything is installed (and working)
properly. It also shows up in "php -v" output.
> Which php:
> /Applications/MAMP/bin/php/php5.4.19/bin/php
>
>
> Whereis php:
> /usr/bin/php
If you have two PHPs installed, make sure you're using the right one. If
"which php" shows the MAMP one, that one is in the path first (and
correct).
> I have looked at countless tutorials and stack overflow posts without
> any success. Any insight that you may be able to offer would be
> greatly appreciated.
You didn't quite mention *what* is not working though. From what I can
see, Xdebug is all installed just fine.
cheers,
Derick
-- Like Xdebug? Consider a donation: http://xdebug.org/donate.php Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org twitter: @derickr and @xdebugReceived on Wed Dec 18 2013 - 09:50:08 GMT
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST