Skip to content

Instantly share code, notes, and snippets.

View utkarshkukreti's full-sized avatar

Utkarsh Kukreti utkarshkukreti

View GitHub Profile
@utkarshkukreti
utkarshkukreti / gist:786224
Created January 19, 2011 14:23
Nginx, PHP (with php-fpm) and MySQL setup on Ubuntu
apt-get install htop binutils cpp flex gcc libarchive-zip-perl libc6-dev libcompress-zlib-perl m4 libpcre3 libpcre3-dev libssl-dev libpopt-dev lynx make perl perl-modules openssl unzip zip autoconf2.13 gnu-standards automake libtool bison build-essential zlib1g-dev ntp ntpdate autotools-dev g++ bc subversion psmisc libmysqlclient-dev libcurl4-openssl-dev libjpeg62-dev libpng3-dev libxpm-dev libfreetype6-dev libt1-dev libmcrypt-dev libxslt1-dev libbz2-dev libxml2-dev libevent-dev libltdl-dev libmagickwand-dev imagemagick git-core
# server
apt-get install nginx
# mysql
apt-get install mysql-server
# php
cd /usr/src
<?php
/*
Plugin Name: Include Custom Files
Plugin URI: http://wpprogrammer.com/include-custom-files/
Description: Allows you to include multiple stylesheets and javascript files on a per-post basis.
Version: 1.0
Author: Utkarsh Kukreti
Author URI: http://utkar.sh
== Release Notes ==