Category
Servers
27 posts tagged #Servers
- · 2 min read
Using NextDNS to Test an AWS ALB Before DNS Cut-Over
If you need to test a site sitting behind an AWS Application Load Balancer before a DNS cut-over, NextDNS makes it incredibly easy. Instead of messing with local hosts files or network configs, you can share a simple configuration ID with teammates or clients and have them testing the new environment in minutes.

- · 1 min read
Installing Laravel Forge CLI on macOS
Once installed, the Forge CLI gives you quick terminal access to your Laravel Forge servers and sites. Just make sure your $PATH is configured right — most issues I’ve run into came from that one step being skipped.

- · 7 min read
Install Nginx & Multiple PHP Versions on macOS 26 Tahoe
Create a very robust, clean, and fast local multi-version PHP (8.2, 8.3, 8.4, 8.5) development environment on macOS 26 Tahoe.

- · 2 min read
Using DBngin Alongside Homebrew
I’ve been using Homebrew for a long time to install MySQL and other databases on my Mac. But now DBngin is changing my mind.

- · 1 min read
Fixing Safari Mixed Content Issues with Vite and mkcert
Safari blocks Vite’s hot module reload (HMR) when your Laravel app runs over HTTPS but Vite serves plain HTTP. Here’s how I fixed it with mkcert, a separate dev-only Vite config, and one extra package.json script.

- · 1 min read
Quick Fix: Nginx PID Errors on macOS (Apple Silicon + Homebrew)
If you run Nginx on an Apple Silicon Mac using Homebrew, you may see errors after a reboot caused by a stale /opt/homebrew/var/run/nginx.pid. I wrote a small ZSH script to remove the stale PID, restart Nginx, and confirm it’s actually serving traffic.

- · 3 min read
Link Share: Issue #5
I have quite a build-up of links to share. It's been a while, so some may be old news, but it's still worth posting. Grab a coffee and enjoy!

- · 5 min read
How to Configure PHP Memory and PHP-FPM for Scalable Performance on 8, 16, and 32+ GB Servers
Learn how to configure PHP memory limits and PHP-FPM settings for 8GB, 16GB, and 32GB servers to maximize concurrency, avoid swap usage, and scale your app efficiently without wasting memory.

- · 2 min read
Cold Archival Storage for Web Devs: What Actually Matters
You need hardcore long-term cold storage—designed to last 50–100 years and survive an EMP. (I had lightning take out a few pieces of equipment once. It happens.)

- · 1 min read
How to Install Puppeteer/Chrome on a Laravel Forge Server with Unbuntu v24
This step-by-step guide covers verifying Node.js, installing Puppeteer globally, updating package repositories, and setting up required system dependencies for smooth headless Chrome execution.

- · 2 min read
How to Use Transmit with SFTP and a Bastion Host
Learn how to configure Transmit to connect to an SFTP server via a bastion host with easy-to-follow steps and SSH configurations.

- · 7 min read
Install Nginx & Multiple PHP Versions on macOS 15 Sequoia
Create a very robust, clean, and fast local multi-version PHP (8.0, 8.1, 8.2, 8.3, 8.4) development environment on macOS 15 Sequoia.

- · 1 min read
Start Homebrew Installed Version of NGINX When macOS Boots
Configure NGINX to automatically start on macOS boot using Homebrew services.

- · 1 min read
How to automatically restart Apache/Nginx service when your website goes down using CRON
If you need to do some very basic heartbeat checks on a basic web server, Apache or nginx, and automatically restart the server when you no longer receive 200 responses this simple CRON script might be what you need.

- · 7 min read
Install Nginx & Multiple PHP Versions on macOS 13 Ventura
Create a very robust, clean, and fast local multi-version PHP (7.4, 8.0, 8.1) development environment on macOS Ventura with Intel or Apple M1 chipsets.

- · 1 min read
Change File & Folder Permissions In Bulk on macOS
Use the find command to change file and folder permissions in bulk on macOS efficiently.

- · 7 min read
Install Nginx & Multiple PHP Versions on macOS 12 Monterey
Create a very robust, clean, and fast local multi-version PHP (7.4, 8.0, 8.1) development environment on macOS Monterey with Intel or Apple M1 chipsets.

- · 1 min read
Set The Max Upload Size of Nginx on Laravel Homestead
To increase the max upload size on Laravel Homestead add the config option client_max_body_size.

- · 6 min read
macOS 11 Big Sur Nginx Setup: Multiple PHP Versions
Create a very robust, clean, and fast local multi-version PHP (7.4, 8.0, 8.1) development environment on macOS Big Sur with Intel or Apple M1 chipsets.

- · 2 min read
How to Remove X-Frame-Options SAMEORIGIN from WordPress.
You can remove the HTTP header X-Frame-Options: SAMEORIGIN from WordPress by removing the send_frame_options_header function from the admin_init and login_init hooks.

- · 1 min read
How to Rename the *Master* Branch to *Main* in Git & GitHub
In this post we will cover renaming the branch master to main in Git. Before renaming your master branch to main in git, keep in mind anywhere you are using the master branch should also be updated.

- · 1 min read
How I configure Laravel Homestead after installing it on Mac
Each time after updating or installing Laravel Homestead I take these steps.

- · 1 min read
SSH Tips and Tricks
Productivity tips for SSH including config files, bastion hosts, SSH agent, and identity files.

- · 1 min read
Disable MySQL Strict Mode and NO_ZERO_DATE Errors in Laravel Homestead
Disable MySQL strict mode and NO_ZERO_DATE errors in Laravel Homestead by configuring sql_mode.

- · 2 min read
Import and Export MySQL and PostgreSQL
Import and export databases for MySQL and PostgreSQL using command line tools and troubleshooting.

- · 3 min read
Server Level CRON Backups
Automate server backups to AWS S3 using cron jobs and shell scripts for files and databases.

- · 3 min read
Installing Xdebug for PHP7
Install Xdebug for PHP7 on Ubuntu and configure remote debugging with PhpStorm.
