L
L
LayneBuchyn2013-08-18 00:26:12
PHP
LayneBuchyn, 2013-08-18 00:26:12

Php 5.5 + php-fpm + nginx?

Hello. I work in Elementary OS (read, in Ubuntu 12.04), installed php5.5 from sources. I want to make a bunch of php-fpm + nginx. All the manuals I googled rely on installing php5-fpm using a package manager. But installing php5-fpm via apt-get also entails installing older php from the repository. Can I install php5-fpm to work with php already installed from source?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
N
Nazar Mokrinsky, 2013-08-18
@LayneBuchyn

There is a ppa: https://launchpad.net/~ondrej/+archive/php5

I
Ivan Maslov, 2013-08-18
@student_ivan

I always build php like this:

wget http://www.php.net/get/php-5.5.2.tar.gz/from/de3.php.net/mirror
tar zxvf *
cd php*
./configure --enable-fpm --with-mcrypt --with-zlib --enable-mbstring --with-curl --disable-debug --disable-rpath --enable-inline-optimization --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --with-mhash --enable-zip --with-pcre-regex --with-gd --with-mysqli
make
make install
cd ..
rm -r -f php*

A
Alexander, 2013-08-18
@BEN

On Debian squeeze did this, changed the repository to testing and, accordingly, a newer version of PHP was installed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question