Skip to content

PHP Management

LLStack installs PHP via the REMI repository using the php-litespeed SAPI (not php-fpm), leveraging LiteHttpd’s LSAPI protocol advantages:

  • ~30% fewer context switches than FastCGI (php-fpm)
  • Shared memory model, more efficient than php-fpm prefork
  • .htaccess php_value / php_flag passed directly via LSAPI
VersionStatusPackage Prefix
PHP 7.4EOL (legacy)php74
PHP 8.1Security updatesphp81
PHP 8.2Activephp82
PHP 8.3Active (recommended)php83
PHP 8.4Latestphp84

Via the panel: Settings → PHP Versions, or via CLI:

Terminal window
sudo /opt/llstack/scripts/php/php-install.sh --version 83

Each version installs: litespeed SAPI + CLI + 14 common extensions.

mysqlnd, pgsql, gd, mbstring, xml, curl, zip, intl, bcmath, opcache, soap, sodium

ParameterDefault
memory_limit256M
upload_max_filesize64M
post_max_size64M
max_execution_time300
max_input_time300

Located at: /etc/opt/remi/php{VERSION}/php.ini

TypePath
lsphp (SAPI)/opt/remi/php{VER}/root/usr/bin/lsphp
php (CLI)/opt/remi/php{VER}/root/usr/bin/php
php.ini/etc/opt/remi/php{VER}/php.ini