IT_Architect
Verified User
- Joined
- Feb 27, 2006
- Messages
- 1,114
I haven't worked with NGINX for ages because every time I did it was slower than Apache. Have you worked with it with FreeBSD, and does it install OK?
they each have their strengths in generalI did it was slower than Apache
I have nginx_apache installed with no issues.Have you worked with it with FreeBSD
Have you actually tested this nginx_apach and just apache on an extremely busy site and checked speed and load differences or is that what is written? I used NGINX as a reverse proxy before and it was quite a bit slower than just Apache, but at that time I was using it with mod_php which also unlike what is often written, is faster than php-fpm. However, I've never done nginx_apache w/php-fpm. I don't use mod_php anymore because there is no http/2 and attackers play games to figure out your Apache parameters and adjust their attacks.they each have their strengths in general
nginx is faster
then nginx_apache
then apache is slowest
you can use htaccces with both apache and nginx_apache
That has been my experience from the last time I tried something like this, which admittedly has been a long time ago, before php-fpm and custom build support. If mod_php could do http/2 I'd use that but mod_php is too vulnerable to denial of service attacks and Let's Encrypt is the only practical way to do certs in a shared hosting situation.I never had "extremely busy" single website but my experience with loads over lots of Wordpress sites and other custom CMS-es on one server showed that single Apache is better performance than Nginx-Apache combo.
That implies it is read from disk every time. That won't happen because even it was written so stupidly without microcaching the files would be in cache, and rules need to be applied every time whether it is an htaccess file or by their substitute. They go on to say:This is a great question. For starters, for .htaccess to work Apache needs to check EVERY directory in the requested path for the existence of a .htaccess file and if it exists it reads EVERY one of them and parses it. This happens for EVERY request. Remember that the second you change that file, it’s effective. This is because Apache reads it every time.
When did this happen? They must be including parking pages and "Hello World!" sites. "Funky" is exactly how every serious site on the web works, and for CMS systems, it's how they work with the only difference being they use php to do it. If it is so funky, why did they add a rewrite module? They fail to mention to implement this requires requires privileged server access to the virtual hosts file. That's swell. Without some clever coding and manually maintaining this every time a web developer needed a change that doesn't work either. Ditto for htpasswd functionality.Let’s say we’re not doing any funky aliasing and the file system looks like the path. This covers most of the sites out there.
Ya, and so does adding something like PHP and MySQL.Stop using .htaccess. It’s horrible for performance. NGINX is designed to be efficient. Adding something like this destroys that.
I dont have an extremely busy site either. I did do some general testing before. Alot of my sites were Static at the time. So I will try this out and see.tested this nginx_apache and just apache
this is what I have because of mod_php is old and unsafe.I've never done nginx_apache w/php-fpm
I will try this out.one server showed that single Apache is better performance
I definitely think nginx_apache is more maintenance. I too would prefer apache if its just as fast.it would have to quite a bit faster than Apache to make sense to offset the complexity and manual maintenance.
based on what you all have said no.is it significantly faster than Apache after adding these?
Things start to fall apart at 3762 and 3764. There remainder are toward end.19 warnings generated.
--- ext/fileinfo/libmagic/apprentice.lo ---
1 warning generated.
--- ext/sqlite3/libsqlite/sqlite3.lo ---
2 warnings generated.
3 errors
make: stopped in /usr/local/directadmin/custombuild/php-5.6.40
pkg install libmcryptlibmcrypt
try--- ext/sqlite3/libsqlite/sqlite3.lo ---
That is the old wiki and unmaintainedwhich is not in the Common pre-install commands.
Not sure I guess when FreeBSD is finished.I wonder when 13 binaries will be available?
13 is not supported by DA yet and might not ever be. No real excitement there on their part.If you're going to be a guinea pig, it might as well be with 13
Maybe I wish it would. Most here a trying Alma Linux or DebianMaybe this will drive more traffic to FreeBSD.
There is actually only one choice when it's between the new guy on the block, AlmaLinux/Cloud/RHEL and the Ubuntu/Debian that almost faded into obscurity before FreeBSD went low priority. cPanel only supports the RHEL and Cloud family and Apple. For hosts that provide both cPanel and DirectAdmin, they will go with AlmaLinux/Cloud, so Ubuntu/Debian isn't going to be where it's at for DA either. I'm going to start experimenting with Windows server too. Pretty much anything that runs on ?nix runs on Windows, and Windows goes a lot more places and has a lot better tools to get there with. The trick there will be to find a decent shared hosting CP.Not sure I guess when FreeBSD is finished.
13 is not supported by DA yet and might not ever be. No real excitement there on their part.
Maybe I wish it would. Most here a trying Alma Linux or Debian
Yeah, cPanel used to and installed from ports, but they did a poor job of it. They did with Windows as well, then named it something else, and now I think it's gone. I used HSphere also, but that was a nightmare to keep unbroken.if DA drops support for FreeBSD. There won’t be any panels for FreeBSD