January 7th, 2016

Installing Linux, Apache, MySQL, PHP (LAMP) Stack on Ubuntu 14.04

I was working to setup development environment of this website on Ubuntu 14.04 virtual machine. So decided to write a post on it. This post explains how to install LAMP stack (Linux, Apache, MySQL and PHP) on Ubuntu 14.04.

Installation:

Run following commands:

sudo apt-get update
sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server libapache2-mod-auth-mysql php5-mysql phpmyadmin
November 23rd, 2011

Display Flickr based User Profile Photo using PhpFlickr

In your web app, If you don’t want to store images on your hosting to save space and bandwidth, Flickr is the best option for you. Flickr is the most popular online photo management and sharing app. phpFlickr is an open source wrapper class of Flickr’s API to upload and retrieve pictures and related information. This post explains how to display user photo in profile page when user logs in.