Posts tagged ubuntu

How to setup Xdebug on ubuntu 10.10

2

Hello,

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 !

Share

Related Posts:

How to install OAuth support for PHP on ubuntu

7

Hello 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

Share

Related Posts:

how to install ubuntu on a usb pendrive

1

There is a lot of info on the net on how to install ubuntu on a pendrive but when I had to do it I found that it was not that clear

So I decided to describe my easy method here to have a persistent ubuntu on a usb pendrive.

Maybe my method is not the best but It’s the easiest way I found to do it.

note : You will need at least a 4GB drive to do this.
(more…)

Share

Related Posts:

How to install anyterm on ubuntu Karmic Koala

12

Hello 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.

(more…)

Share

Related Posts:

Go to Top