Skip to content

Instantly share code, notes, and snippets.

@tigusigalpa
tigusigalpa / php84.ini
Created February 21, 2026 15:12
PHP 8.4 FPM ini
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
@tigusigalpa
tigusigalpa / php83.ini
Created February 21, 2026 15:12
PHP 8.3 FPM ini
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
@tigusigalpa
tigusigalpa / php82.ini
Created February 21, 2026 15:11
PHP 8.2 FPM ini
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
@tigusigalpa
tigusigalpa / php81.php
Created February 21, 2026 15:11
PHP 8.1 FPM ini
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
@tigusigalpa
tigusigalpa / php80.ini
Created February 21, 2026 15:10
PHP 8.0 FPM ini
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
@tigusigalpa
tigusigalpa / php74.ini
Created February 21, 2026 15:10
php 7.4 FPM ini
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
@tigusigalpa
tigusigalpa / pg_hba.conf
Last active February 15, 2026 08:10
Postgres config
# TYPE DATABASE USER ADDRESS METHOD
# Remote VPN/IP connections
# Replace xxx.xxx.xx.xxx with your VPN IP
host all all xxx.xxx.xx.xxx/32 scram-sha-256
# Local Unix-socket connections
local all all scram-sha-256
# IPv4 local connections
@tigusigalpa
tigusigalpa / php81.Dockerfile
Created September 23, 2025 08:30
PHP 8.1-FPM Dockerfile
FROM php:8.1-fpm
RUN apt update && apt install -y \
libzip-dev libpng-dev libjpeg-dev libfreetype6-dev \
libonig-dev libicu-dev libpq-dev libwebp-dev git \
libxml2-dev
RUN docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp
RUN docker-php-ext-install \
@tigusigalpa
tigusigalpa / php83.Dockerfile
Last active September 23, 2025 07:52
PHP 8.3-FPM Dockerfile
FROM php:8.3-fpm
RUN apt update && apt install -y \
libzip-dev libpng-dev libjpeg-dev libfreetype6-dev \
libonig-dev libicu-dev libpq-dev libwebp-dev git \
libxml2-dev
RUN docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp
RUN docker-php-ext-install \
@tigusigalpa
tigusigalpa / php74.Dockerfile
Created August 6, 2025 02:42
PHP 7.4 FPM Dockerfile with MySQL/Postgres support
FROM php:7.4-fpm
RUN apt -y update && apt -y install \
build-essential \
mc \
nano vim \
zip unzip libzip-dev \
openssl \
wget \
sendmail mailutils \