📦 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