• Blog
  • Tutorials
  • Downloads
  • Ben?
RATTICON
  • Blog
  • Tutorials
  • Downloads
  • Ben?
No Result
View All Result
  • Blog
  • Tutorials
  • Downloads
  • Ben?
No Result
View All Result
RATTICON
No Result
View All Result

So Long, Apache

Ben by Ben
2023-05-30
in Site Updates, Tech
0
So Long, Apache

Apache just retired from my web server. I’ll tell you why.

As a noob to hosting my own website I cut my teeth on a LAMP installation (Linux, Apache, MySQL and PHP) when I was setting up my first Raspberry Pi (Model 2b). It currently hosts Bendayo and my wife’s illustration portfolio.

While browsing around for info on Pi networking I kept hearing the names NGiNX and MariaDB. People were claiming huge cuts in resources and load times, so ultimately I had to check it out for myself…

NGINX, MariaDB, PHP-FPM and WordPress logosAfter a long day of figuring out how best to backup and restore both sites, I finally had two Pi servers – Pi2b running the original LAMP setup, and a newer Pi3b running LEMP (Linux, NGiNX, MariaDB, PHP-FPM).

I learned one very important thing during the transfer process: don’t use a cheap microSD reader plugged into the back of a hot Mac Mini and “dd” to copy a Micro SD card for EIGHT HOURS. It corrupted the original card and I was extremely fortunate to have an S3 backup of both WordPress sites and their respective SQL databases.

 

If It Ain’t Broke, Fix It

Gilfoyle and Dinesh presenting a computer

The Apache-based setup I had was running fine. Both sites were fully operational with no downtime to speak of. However, page loads were somewhat slow, and the limitations of the Pi2b hardware were, in my opinion, starting to show. Since switching both websites over to NGiNX and using FastCGI caching instead of Apache and WordPress Supercache, they display considerably faster. They also have a far lower impact on system resources.

 

In conclusion, I’m a happy camper. I’m sure to be tweaking it endlessly, as a learning exercise more than anything, but I’ll be sticking with NGiNX and co for a while.

But wait, there's more!

I’ve just come across a package that seems capable of streamlining the install/config process for a LEMP setup. It’s called EasyEngine.  I like to do things the hard way so I can enjoy solving problems and learning, but as a time-saver I may try it out next time I upgrade the server hardware. If you have any experience with EasyEngine, let me know in the comments!

Share this:

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on Pinterest (Opens in new window) Pinterest
Tags: apachecachelamplempmariadbnginxphpPiserverwordpress
Previous Post

Server Upgraded to Raspberry Pi 3

Next Post

Tune: Puppy Pups – w/ Patrick Ogida

Next Post
Tune: Puppy Pups – w/ Patrick Ogida

Tune: Puppy Pups - w/ Patrick Ogida

Leave a ReplyCancel reply

Search

No Result
View All Result

Recent Posts

  • How to fix slow Visual Studio Code on Raspberry Pi 4
  • Fix Neural DSP ASIO and No Windows Sounds
  • Real vs Fake EZ-RJPRO HD Crimp Tools
  • Arduino UNO Clone – CH34X Chip Serial Driver
  • Thank You SoftLayer / IBM Cloud
  • Folding@Home Team Statistics Checker
  • Tutorial: Train Departure Board with Pi, Python and an LCD

Tags

apache Arduino ASIO bass coronavirus covid-19 Crimping Crimp Tool Departure Board DIY Driver EZ-RJPRO HD fah-teamstats fah-teamstats.py freenas GitHub guitar Hardware I2C Display lamp LCD music Neuraldsp nginx ODPT Performance Issue Pi Pi Zero Python Raspberry Pi server SLO-100 Sluggish Soldano soundcloud SSL terminal Trains Tutorial Uno vscode VS Code Webserver Windows Audio x0ptis
  • Downloads
  • Hi! I’m Ben, a Brit living in Tokyo.

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Blog
  • Tutorials
  • Downloads
  • Ben?

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.