acc-create-docker-php-config
Installation
SKILL.md
Docker PHP Configuration Generator
Generates optimized PHP configuration files for Docker containers: php.ini, OPcache with JIT, and PHP-FPM pool configuration.
Generated Files
docker/php/php.ini # Production PHP configuration
docker/php/opcache.ini # OPcache with JIT configuration
docker/php/php-fpm.d/www.conf # PHP-FPM pool configuration
Generation Instructions
- Determine workload type: Web API (low memory, short execution), Background worker (higher memory, longer execution), CLI tools (max memory, no limit)
- Analyze needs: File uploads, session handling, serialization, timezone
- Generate: php.ini tuned for workload, OPcache with JIT, PHP-FPM pool matched to resources