A Simple Guide to Installing Both Firefox 4 and Firefox 3 on Ubuntu

Step 1: Add the Mozilla Daily PPA Repository#

First, open up your terminal window. Once it’s up, type in the command below to add the Ubuntu Mozilla Daily PPA repository to your system:

sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa

You’ll be prompted to enter your password. Go ahead and do that, then hit Enter to confirm the addition of the repository.

Step 2: Update Your Package List#

After adding the repository, it’s crucial to update the package list to ensure you get the latest software. Type the following command:

ERROR: phpize failed [solved]

How to install PHP development files

If you want to run phpize on your system, you need to install the development files of PHP first. Otherwise, you might get an error message like this:

sh: phpize: not found
ERROR: `phpize' failed

To install the PHP development files on Ubuntu/Debian, you can use the following command in the terminal:

apt-get install php5-dev

That should solve the problem. 🙂

How to Install PHP 5.3.1 on Ubuntu 64 bit and 32 bit

…yes just 2 lines#

For Ubuntu x64#

  1. sudo su

  2. cd /tmp && mkdir php53 && cd php53 && wget && wget && dpkg -i *.deb && echo “deb http://php53.dotdeb.org stable all” » /etc/apt/sources.list && aptitude update && aptitude install libapache2-mod-php5=5.3.1 apache2

For Ubuntu 32 bit i386#

  1. sudo su

  2. cd /tmp && mkdir php53 && cd php53 && wget && wget && dpkg -i *.deb && echo “deb http://php53.dotdeb.org stable all” » /etc/apt/sources.list && aptitude update && aptitude install libapache2-mod-php5=5.3.1 apache2