Tag Archives: php

Use more than one PHP version in Nginx

In some cases probably you need to have different PHP versions on the same machine and using it on different domains. Install PHP You can install PHP versions by downloading already compiled packages or you can compile your own (with personalized configuration – quick PHP compile & install guide). Personally, I prefer for development machines […]

Install PHP 5.x from repository on Ubuntu

Install build tool Here are detailed steps for installing the compile tool for ubuntu. Install dependencies In most cases, quite a lot of dependencies will be missing. You can install most of them using the next command sudo apt-get install libxml2-dev libpcre3-dev libbz2-dev libcurl4-openssl-dev libdb4.8-dev libjpeg-dev libpng12-dev libxpm-dev libfreetype6-dev libmysqlclient-dev postgresql-server-dev-9.1 libt1-dev libgd2-xpm-dev libgmp-dev libsasl2-dev […]