Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

nginx + apache2 + php-fpm

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Indeax
Posts: 2
Joined: Wed Jun 13, 2018 8:21 am

Os: Debian 8x
Web: apache + nginx
nginx + apache2 + php-fpm
  • Quote

Post by Indeax » Wed Jun 13, 2018 8:41 am

Hi All,

I discovered recently vestacp and seem an interesting project, thanks for the good work.

I like the mix of nginx + apache2 to get the better from both world, It's what I actually use on my servers config.

I have take a look on how you separate users privileges on web users with php and you seem to use mod_ruid2. This is fine (Im not sure about performance penalty) but recently on debian 9 it has become unstable:

https://bugs.debian.org/cgi-bin/bugrepo ... bug=866395

and it seem to be retired from next debian release:

https://tracker.debian.org/news/859755

Also the code is quite old (https://github.com/mind04/mod-ruid2: last update from 2013). So, why not to implement nginx + apache2 (worker/event) + php-fpm ? I think it can be easily implemented on your code and can solve the mod_ruid2 issue on debian9 and give a more stable and actual path to get php in the nginx+apache2 mix. Also it could be a better idea to move apache2 without nginx to use php-fpm.

I know that we can choose nginx + php-fpm, it's a fast and solid solution but a lot of users need .htaccess support, so apache is a must.

Thanks!
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: nginx + apache2 + php-fpm
  • Quote

Post by grayfolk » Wed Jun 13, 2018 10:15 am

If .htaccess is main reason you can use one of many .htaccess to nginx rules converter, for example http://www.anilcetin.com/
Top

Indeax
Posts: 2
Joined: Wed Jun 13, 2018 8:21 am

Os: Debian 8x
Web: apache + nginx
Re: nginx + apache2 + php-fpm
  • Quote

Post by Indeax » Wed Jun 13, 2018 10:52 am

Yes, I can convert easily between apache and nginx, but the problem is for "clients" in a multihosting environment. And if you don't want to modify nginx config for each client request and die with support, it's better to leave .htacces control to clients.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password