Solved

nginx - ubuntu 8.04 LTS - php-fpm

Posted on 2010-11-29
2
1,122 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
ID: 34237443

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
ID: 34265874
thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

929 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

13 Experts available now in Live!

Get 1:1 Help Now