Posts tagged linux
How to setup Xdebug on ubuntu 10.10
2Hello,
I’ve been trying to figure out how to actually set up Xdebug on my php configuration but I never managed to get the “Styled” version of Xdebug.
I finally figured out why so I decided to share it
First install xdebug with pecl
sudo pecl install xdebug
Then create a xdebug config file and add a link to your .so file
sudo nano /etc/php5/apache/conf.d/xdebug.ini # then add zend_extension = /usr/lib/php5/20090626+lfs/xdebug.so
Now here is the part that I couldn’t figure out.
In your php.ini file you need to enable display_errors & html_errors.
sudo nano /etc/php5/apache/php.ini # then look for display_errors & html_errors and set it to On.
finally restart apache
sudo /etc/init.d/apache2 restart
You’re all set !
Related Posts:
How to install OAuth support for PHP on ubuntu
6Hello everyone,
I recently had to install OAuth via PECL to make our twitter feed work and I had some issue figuring out how to install Oauth so I decided to share with you.
First of all you need to make sure you already have php-pear and php5-dev.
If you are unsure just run
sudo apt-get install php-pear php5-dev make
now run
sudo pecl install oauth
Personnaly I had an error while compiling
/usr/include/php5/ext/pcre/php_pcre.h:29: fatal error: pcre.h:
To fix that just install : libpcre3-dev
sudo apt-get install libpcre3-dev
Once it’s done just add extension=oauth.so at the end of your php.ini (located in /etc/php5/apache2/php.ini) file and restart Apache.
You should be good to go !
Have fun
Related Posts:
How to install anyterm on ubuntu Karmic Koala
11Hello everyone,
I had to install anyterm on a fresh karmic koala yesterday but i’ve ran into so many problems that I decided I’ll write a simple tutorial about this subject.
Anyterm is a software that allows you to acces a terminal over http(s) protocol, so it allows you to bypass most proxys.
For more info on anyterm please visit the official website at http://anyterm.org/
This tutorial will explain how to compile from the SVN source 1.1.29 but may be slightly diferent if you are trying to use another version.

Last comments