Librenix  
(Show all PHP articles . . .
)  
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

PHP-FPM/Nginx Security in Shared Hosting Environments (Debian/Ubuntu)

Up
vote
Down

If you want to use nginx and PHP-FPM for shared hosting environments, you should make up your mind about security. In Apache/PHP environments, you can use suExec and/or suPHP to make PHP execute under individual user accounts instead of a system user like www-data. There's no such thing for PHP-FPM, but fortunately PHP-FPM allows us to set up a "pool" for each web site that makes PHP scripts execute as the user/group defined in that pool. This gives you all the benefits of suPHP, and in addition to that you don't have any FTP or SCP transfer problems because PHP scripts don't need to be owned by a specific user/group to be executed as the user/group defined in the pool.
 read more | mail this link | score:7154 | -falko, December 28, 2011
More Sysadmin articles...

Large Abstract Art with Fine Details and Textures

admin headlines

Tutorial: Installing Lighttpd, PHP5, PHP-FPM, MySQL on Debian 7

Tutorial: Use PHP 4.4.9 (FastCGI) with Apache (Debian 7)

Tutorial: OpenSUSE 12.3 Samba Server with tdbsam

Tutorial: Replace Windows with OpenSUSE 12.3 Linux

Run Headless VirtualBox 4.2 on Fedora 18

Tutorial: Replace Windows with Fedora 18 XFCE

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin