This will install xdebug 2.0 (or whatever is latest version in PEAR repository when you try this).
It is assumed you have Apache2 + PHP5 working already.
sudo apt-get install php5-dev php-pear
Now install xdebug thru PECL.
sudo pecl install xdebug
Now we need to find where xdebug.so went (the compiled module)
martin@martin-dev:/$ find / -name 'xdebug.so' /dev/null /usr/lib/php5/20060613/xdebug.so
Then edit php.ini:
sudo gedit /etc/php/apache2/php.ini
Add the following line:
zend_extension="/usr/lib/php5/20060613/xdebug.so"
Then restart apache for changes to take effect
sudo /etc/init.d/apache2 restart
Check phpinfo() to make sure the extension is loaded correctly. The following line should have been appended to the copyright lines:
with Xdebug v2.0.0, Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, by Derick Rethans
For more information about xdebug configuration and usage, please read the official documentation, found here: http://xdebug.org/docs/
check http://ubuntuforums.org/showthread.php?t=525257
ReplyDeleteYour new valuable key points imply much a person like me and extremely more to my office workers. With thanks from every one of us.
Best AWS Training in Chennai | Amazon Web Services Training in Chennai
AWS Training in Bangalore | Amazon Web Services Training in Bangalore
Amazon Web Services Training in Pune | Best AWS Training in Pune
Useful information.I am actual blessed to read this article.thanks for giving us this advantageous information.I acknowledge this post.and I would like bookmark this post.Thanks
ReplyDeletepython training in tambaram | python training in annanagar | python training in jayanagar
Thanks you for sharing this unique useful information content with us. Really awesome work. keep on blogging
ReplyDeleteDevops Training courses
Devops Training in Bangalore
Best Devops Training in pune
Devops interview questions and answers
I found your blog while searching for the updates, I am happy to be here. Very useful content and also easily understandable providing.. Believe me I did wrote an post about tutorials for beginners with reference of your blog.
ReplyDeleteJava training in Indira nagar | Java training in Rajaji nagar
Java training in Marathahalli | Java training in Btm layout
Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.
ReplyDeleteData Science course in rajaji nagar | Data Science with Python course in chenni
Data Science course in electronic city | Data Science course in USA
Data science course in pune | Data science course in kalyan nagar
This looks absolutely perfect. All these tiny details are made with lot of background knowledge. I like it a lot.
ReplyDeleteMicrosoft Azure online training
Selenium online training
Java online training
Python online training
uipath online training