nginx + apache2 + php-fpm
nginx + apache2 + php-fpm
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!
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!
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: nginx + apache2 + php-fpm
If .htaccess is main reason you can use one of many .htaccess to nginx rules converter, for example http://www.anilcetin.com/
Re: nginx + apache2 + php-fpm
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.