Home ExampleConfig logo
  • Systemd Config Generator
    Create .service files
    CLAUDE.md Examples Generator
    Generate CLAUDE.md
    More soon
  • Popular
  • 100% Free
  • Tools
    Systemd Config Generator CLAUDE.md Examples Generator
    More soon
  • Popular
  • About
  • 100% Free

Php Default Configs

Untouched. Ready to copy.

/etc/nginx/snippets/fastcgi-php.conf
NGINX Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

NGINX - /etc/nginx/snippets/fastcgi-php.conf

📍 Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)

📍 Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

# regex to split $uri to $fastcgi_script_name and $fastcgi_path
fastcgi_split_path_info ^(.+\.php)(/.+)$;

# Check that the PHP script exists before passing it
try_files $fastcgi_script_name =404;

#…
13 lines • MD5: 678c2236... View →

Browse All

All configs. All distros.

By Application

NGINX
Apache HTTP Server
MySQL
MariaDB
OpenSSL
OpenSSH
Postfix
Redis
APT
PostgreSQL
Odoo

By Distro

Debian 9 (Stretch)
Debian 10 (Buster)
Debian 11 (Bullseye)
Debian 12 (Bookworm)
Ubuntu 18.04 LTS (Bionic Beaver)
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)
Red Hat Enterprise Linux 8 (Ootpa)
Red Hat Enterprise Linux 9 (Plow)
Alpine Linux v3.21
CentOS Stream 9
CentOS Stream 10
Debian 13 (Trixie)
ExampleConfig

Free archive of default configuration files for popular server applications.

No account required

Configuration Tools

  • Systemd Config Generator
  • Popular Configs
  • Search Configs

Resources

  • About ExampleConfig
  • Open Source
  • Privacy & Terms

Support

  • Report Issues
  • Contribute
  • Questions? Feedback?
    hello@exampleconfig.com
© 2026 ExampleConfig • Free configuration file archive • Updated Jan 19, 2026
  • GitHub