mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
b4bb23f5c0
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
18 lines
914 B
Text
18 lines
914 B
Text
Xdebug (A PHP extension for debugging PHP scripts)
|
|
|
|
The Xdebug extension helps you debugging your script by providing a lot of
|
|
valuable debug information. The debug information that Xdebug can provide
|
|
includes the following: stack traces and function traces in error messages,
|
|
memory allocation and protection for infinite recursions. Xdebug also
|
|
provides profiling information for PHP, scripts, code coverage analysis and
|
|
capabilities to debug PHP scripts interactively with a debug client.
|
|
|
|
This requires libedit.
|
|
|
|
Once you've installed xdebug, uncomment the following line in /etc/php/xdebug.ini:
|
|
; zend_extension = "/usr/lib/php/extensions/xdebug.so"
|
|
|
|
Restart your webserver if you're using php with it, and as a recomendation
|
|
from xdebug's README: "Write a PHP page that calls "phpinfo();" Load it
|
|
in a browser and look for the info on the xdebug module. If you see it,
|
|
you have been successful!"
|