apache-lamp-config

Automate Apache virtual host, .htaccess, and PHP-FPM configuration for LAMP stacks.

2|1|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/sraloff/gravityboots --skill apache-lamp-config
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apache-lamp-config
Source: https://github.com/sraloff/gravityboots/tree/main/.agent/skills/apache-lamp-config
Command: npx skills add https://github.com/sraloff/gravityboots --skill apache-lamp-config

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standardizes and simplifies Apache/LAMP server configuration across environments, reducing setup errors and onboarding time.

Core Features & Use Cases

  • Virtual Hosts: Manage per-site configurations with sane DocumentRoot paths and security defaults.
  • .htaccess Guidance: Provide best-practice rewrite rules and access controls.
  • PHP-FPM Tuning: Safe, scoped PHP-FPM timeouts and memory settings for common workloads.

Quick Start

Configure a sample site with a VirtualHost, .htaccess, and PHP-FPM settings following this guide.

Frequently Asked Questions about apache-lamp-config

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Apache virtual hosts with secure DocumentRoot paths?

To configure Apache virtual hosts, you need per-site configurations with sane DocumentRoot paths and security defaults. This ensures predictable server behavior while standardizing document root isolation across local development and production-like LAMP deployments.

What are the best practice .htaccess rewrite rules for a LAMP stack?

Best practice .htaccess rules provide safe rewrite rules and access controls for your LAMP stack. Implementing these standardized rules prevents common setup errors and ensures secure routing behavior across local environments like MAMP, XAMPP, and Docker.

Can I use this server configuration for local development environments like MAMP or XAMPP?

Yes, this Apache server configuration is explicitly applicable to local development environments including MAMP, XAMPP, and Docker. It standardizes LAMP stack setup across these platforms to reduce onboarding time and prevent environment-specific configuration errors.

How do I tune PHP-FPM timeouts and memory limits for common workloads?

To tune PHP-FPM, apply safe and scoped timeout and memory settings tailored for common workloads. This approach ensures predictable server behavior during high traffic by properly scoping resource limits within your Apache virtual host configurations.

Why do I need to standardize Apache configuration across different environments?

Standardizing Apache configuration reduces setup errors and onboarding time across different environments. By automating virtual host, .htaccess, and PHP-FPM tuning, you achieve predictable server behavior and secure document roots from local development to production-like deployments.