Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th April 2012, 08:36
f-do f-do is offline
Junior Member
 
Join Date: Apr 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Permission Problem - Nginx - php-fqm

Hi There,

i have a litte Problem - I have made the Tutorial there ist the nginx running under www-data - but the php-fpm pool will run under web1, web2.... an so on.

So i must do the socket listing mode 0666. But i think it is unsecure. If i made 0660 i get in the error.log of nginx - Permission Denied.

Do you have a secure solution for this?
Reply With Quote
Sponsored Links
  #2  
Old 25th April 2012, 13:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
 
Default

You can add the www-data user to the group of the PHP-FPM pool. You can the use the mode 0660.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiserver setup: repquota command not found. CSsab Installation/Configuration 2 27th January 2011 15:11
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
ISPConfig virtual web pages not working mike_phi Installation/Configuration 8 7th May 2008 16:51
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18
php script injections Grizzly General 21 18th July 2006 08:55


All times are GMT +2. The time now is 06:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.