Skip to content

Dev Setup · Bash

My local LAMP environment, and the scripts that automate it

A lightweight built-in PHP server is fine for a quick look, but it hides problems a real LAMP stack catches immediately — file permissions, Apache rewrite rules, MySQL quirks. So everything I build gets tested against the real thing first.


The stack

Ubuntu, Apache, MySQL, PHP — nothing exotic, set up once and automated so setting it up again for a new project doesn’t cost an afternoon.

What the scripts do

A set of bash scripts handles the repetitive parts of spinning up a new project: creating a virtual host, provisioning a database and user, pulling down a fresh WordPress install, and wiring the two together. What used to be a 20-minute manual setup is now one command — which matters when a freelance project needs to start the same day it’s scoped.

What it’s built for

Every WordPress project that shows up in the portfolio — CarCompare.ph, the condo calculator, the plugins — gets built and broken here first, long before it touches a live server.


Blog

More articles

All articles

Sitecore · Team Process

Training a content team on Sitecore XP/XM

What went into the review checklists and training materials I built for a five-person content team, and what actually changed how fast we ship pages.

WordPress · Claude Code

Building a WordPress + Claude Code pipeline

A 12-stage guide with stage gates for AI-assisted WordPress development — how I structure freelance builds so nothing gets skipped.

SEO · Schema

JSON-LD schema markup, the practical version

Notes from building a schema markup plugin — what structured data actually earns you in search, and where teams over-engineer it.


Read more

The full archive is on my personal blog

Longer posts, older archives, and everything not covered here.

Visit apolgesma.site