Debugging PHP: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:Symfony Category:PHP Category:Web Development == Xdebug extension == === Installation === Installation is dependent on the PHP installation. [http://xd...") |
No edit summary |
||
| Line 2: | Line 2: | ||
== Xdebug extension == | == Xdebug extension == | ||
=== Confirming Xdebug installation === | |||
<syntaxhighlight lang="bash"> | |||
php --version | |||
</syntaxhighlight> | |||
The output should look something like this: | |||
<syntaxhighlight lang="text" highlight="4"> | |||
PHP 5.6.5 (cli) (built: Jan 21 2015 16:27:34) | |||
Copyright (c) 1997-2014 The PHP Group | |||
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies | |||
with Xdebug v2.3.3, Copyright (c) 2002-2015, by Derick Rethans | |||
</syntaxhighlight> | |||
=== Installation === | === Installation === | ||
Revision as of 18:33, 27 September 2015
Xdebug extension
Confirming Xdebug installation
php --version
The output should look something like this:
PHP 5.6.5 (cli) (built: Jan 21 2015 16:27:34)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
with Xdebug v2.3.3, Copyright (c) 2002-2015, by Derick Rethans
Installation
Installation is dependent on the PHP installation. This wizard will analyze a php.ini file and provide detailed instructions for installation.
In the case of the development Windows 2008 server:
- Download php_xdebug-2.2.7-5.4-vc9-nts.dll
- Move the downloaded file to
c:\PHP54\ext - Edit
C:\PHP54\php.iniand add the line
zend_extension = c:\PHP54\ext\php_xdebug-2.2.7-5.4-vc9-nts.dll