Solved

nginx - ubuntu 8.04 LTS - php-fpm

Posted on 2010-11-29
2
1,109 Views
Last Modified: 2012-05-10
0  down vote  favorite
      

Hi all,

Does anyone know a repository which can be used to install php5-fpm for Ubuntu 8.04 LTS ? Can it be installed onto 8.04 LTS ?

Im currently usnig spwan-fcgi, but wanted to try php5-fpm to see the speed diference.

thanks
0
Comment
Question by:VantaBods
2 Comments
 
LVL 8

Accepted Solution

by:
kivan24 earned 500 total points
Comment Utility

1

Edit /etc/apt/sources.list: add this lines
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all
deb http://php53.dotdeb.org stable all
deb-src http://php53.dotdeb.org stable all
deb http://ppa.launchpad.net/jdub/devel/ubuntu hardy main

Open in new window


2

Import key, do update, and install Nginx
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E9EEF4A1
aptitude update
aptitude install nginx

Open in new window


3

Install PHP-5.3, PHP-Fpm,  and Apache tools
apt-get install   php5 php5-common php5-fpm php5-curl php5-apc php5-gd  php-pear php5-imagick php5-imap php5-mcrypt php5-memcache  php5-mysql php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl apache2-utils

Open in new window


4

Edit nginx.conf, in /etc/nginx, edit php.ini in /etc/php5/fpm
Both services start automatically when the server starts, or the commands:
/etc/init.d/nginx   start/restart/stop
/etc/init.d/php5-fpm   start/restart/stop

Open in new window

0
 

Author Comment

by:VantaBods
Comment Utility
thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now