Nginx and PHP-FPM Install Done but...

Hey Guys,

I am new here but have been working with Linux systems for several years and have a particular love for Debian. So my Linode is naturally running squeeze. I am happy to be a part of this community.

I have a question regarding Nginx and PHP5-FPM installations.

So I followed this thread because I was interested in using php-fpm

http://www.webhostingtalk.com/archive/i … 25286.html">http://www.webhostingtalk.com/archive/index.php/t-1025286.html

In order to get php5-fpm installed using apt-get I needed to add this source.

deb http://packages.dotdeb.org stable all

The ramifications of this are that now the latest version of nginx is available to me but I am worried about the consequences this added source list entry might have on the security of the server.

I noticed after searching on the forum that others are using PHP5-FPM installs. This made me curious about any different procedures used to install this in an effort to figure out the best solution for my own Linode.

Any help with this is greatly appreciated. Thanks!

2 Replies

The guy behind dotdeb.org does great work. I personally wouldn't have any reservations about using his repo.

If you want to do the work yourself, then you should look into taking the official packages from the unstable repos (http://packages.debian.org/sid/php5) and "backporting" them to your stable version.

This can be as simple as changing one or two words and recompiling. That is assuming that the updated version does everything you want, and that no package dependency problems are introduced with the new version.

If you need something different than the updated stock package, then you can start learning how to edit the package. The dotdeb.org packages sometimes have changes from the stock Debian packages.

A common scenario is where you use nginx but you want to use a third party module like cache-purge. nginx requires recompiling to add modules.

Perfect. I think I am all set. Things seem to be running pretty smooth. I am new to nginx but like the syntax so far. Tonight I plan on messing with the rewrite engine that is built into this server.

Also php is running great.

Thanks!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct