Skip to content

Instantly share code, notes, and snippets.

@josephscott
Last active May 23, 2025 19:00
Show Gist options
  • Select an option

  • Save josephscott/88c527428fc690f3c5e28da412e78bdb to your computer and use it in GitHub Desktop.

Select an option

Save josephscott/88c527428fc690f3c5e28da412e78bdb to your computer and use it in GitHub Desktop.
FrankenPHP Caddyfile, WordPress sub-directory for local dev
{
frankenphp {
php_ini max_execution_time 300
php_ini memory_limit 256M
php_ini upload_max_filesize 128M
php_ini post_max_size 128M
}
}
localhost:9999 {
encode zstd br gzip
php_server
file_server
try_files {path} {path}/index.php /wordpress/index.php
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment