← Back to all services
Php

PHP 7.4 FPM - Default Port & Configuration

php7.4-fpm systemctl: php7.4-fpm

PHP 7.4 with typed properties, arrow functions, preloading. EOL November 2022.

🔌 Default Ports

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

📦 Installation Command

add-apt-repository ppa:ondrej/php && apt install php7.4-fpm php7.4-cli php7.4-common php7.4-mysql php7.4-pgsql php7.4-sqlite3 php7.4-redis php7.4-mbstring php7.4-xml php7.4-curl php7.4-zip php7.4-gd php7.4-intl php7.4-bcmath php7.4-json php7.4-soap php7.4-opcache

⚙️ Configuration Files

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

📂 Default Directories

  • config: /etc/php/7.4
  • fpm_pool: /etc/php/7.4/fpm/pool.d
  • logs: /var/log/php7.4-fpm.log
  • socket: /run/php/php7.4-fpm.sock
  • session: /var/lib/php/sessions

🔐 Default Credentials

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

📌 Dependencies

php7.4-commonphp7.4-jsonphp7.4-opcache

⚠️ Conflicts

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

✅ Works With

nginxapache2mysqlmariadb

🛡️ Security Notes

CRITICAL: EOL since Nov 2022 - UPGRADE IMMEDIATELY. Security vulnerabilities unfixed.