Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Chad Lung's Blog:
Install Lighttpd, PHP and MySQL on Ubuntu 10.10
Jan 05, 2011 @ 14:57:58

In this new post to his blog Chad Lung walks you through the process of getting Lighttpd (web server), PHP and MySQL installed on a Ubuntu-based system. His specific installation is 10.10, but the instructions can be translated easily to most common versions.

Sometimes you don’t want Apache for your web server whatever your reasons might be. There are other options like Nginx and Lighttpd, today I’ll setup Lighttpd along with PHP (via FastCGI) and MySQL.

The Ubuntu package manager (apt-get/aptitude) takes a lot of the work out of it for you, installing the packages and dependencies. A few minimal changes to some configuration files for FastCGI and configuring the Lighttpd server and you'll be up and running in no time.

tagged: install ubuntu lighttpd mysql tutorial aptget aptitude

Link:

Padraic Brady's Blog:
Installing PHP 5.3.1 On Ubuntu 9.10 (Karmic Koala) With aptitude/apt-get
Dec 09, 2009 @ 16:36:38

Padraic Brady has a quick post in response to some questions he saw about installing PHP on a Ubuntu system (9.10/Karmic Koala) via apt-get.

As there was some exclaimation marks on Twitter about this, here's a quick article on installing PHP 5.3.1 on Ubuntu 9.10 using aptitude or apt-get. I use aptitude primarily, but the installation uses normal .deb files. Since Ubuntu will not officially adopt PHP 5.3 until next April, the PHP 5.3 debs I use are pulled from the Dotdeb Debian "Lenny" repositories. These are perfectly compatible with Ubtuntu 9.10 and only require the manual installation of two extra dependencies which Ubuntu cannot resolve itself.

You'll need to add in some new sources to your list, but after that it's a pretty simple process to pull in the PHP 5.3 packages, add in a few extra libraries and then run the update for apt-get to install it all.

tagged: install ubuntu aptitude aptget package

Link:


Trending Topics: