Install PHP xdebug under centos6.3

Source: Internet
Author: User

First download a xdebug

http://www.xdebug.org/docs/

Official website has windos version and Linux source code version, we download a source package xdebug-2.2.5.tgz

Then go to the installation process

tar -xvzf xdebug-2.2. 5 . TGZCD  xdebug-2.2. 5/usr/bin/phpize/  * This is done here according to your actual command location */. /Configuremake doinstall

This interface will appear when the installation is ready.

/xdebug-2.2.5/modules/xdebug.so
Directory below to find the path to this xdebug.so file (you can choose to move this file to php.ini extend_dir the specified directory), where I did not move

Edit PHP.ini Add the following information
Zend_extension =/webser/lamp/xdebug-2.2. 5/modules/= = = = = Onxdebug.trace_output_dir = "  /webser/xdebug"xdebug.profiler_output_dir="/webser/xdebug" 

Restart Apache to view phpinfo information, which shows the configuration information for Xdebug

We punch in a page that contains the error

PHP.ini if Html_errors is set to on then the error message will be entered as a style

Install PHP xdebug under centos6.3

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.