← Back to all services
Php

PHP 8.2 FPM - Default Port & Configuration

php8.2-fpm systemctl: php8.2-fpm

PHP 8.2 with readonly classes, DNF types, null/false standalone types, random extension.

🔌 Default Ports

N/A
unix socket
/run/php/php8.2-fpm.sock
9000
tcp
FastCGI (if configured)

📦 Installation Command

apt install php8.2-fpm php8.2-cli php8.2-common php8.2-mysql php8.2-pgsql php8.2-sqlite3 php8.2-redis php8.2-mbstring php8.2-xml php8.2-curl php8.2-zip php8.2-gd php8.2-intl php8.2-bcmath php8.2-soap php8.2-opcache php8.2-readline

⚙️ Configuration Files

  • /etc/php/8.2/fpm/php.ini
  • /etc/php/8.2/fpm/php-fpm.conf
  • /etc/php/8.2/fpm/pool.d/www.conf
  • /etc/php/8.2/cli/php.ini

📂 Default Directories

  • config: /etc/php/8.2
  • fpm_pool: /etc/php/8.2/fpm/pool.d
  • logs: /var/log/php8.2-fpm.log
  • socket: /run/php/php8.2-fpm.sock
  • session: /var/lib/php/sessions

🔐 Default Credentials

Username:N/A
Password:N/A
💡 Runs as www-data user by default

📌 Dependencies

php8.2-commonphp8.2-opcache

⚠️ Conflicts

N/A Port: Other PHP-FPM versions on TCP 9000

✅ Works With

nginxapache2mysqlmariadbpostgresqlredis

🛡️ Security Notes

Same as PHP 8.3 - disable expose_php, set open_basedir, disable dangerous functions