Hi everyone,
I’ve just installed PHP 8.3 on my HestiaCP server and I’d like to:
- Set PHP 8.3 as the default version for CLI and the system.
- Optimize its configuration for better performance (Opcache, JIT, memory, execution time) and allow larger uploads.
Currently, I’m doing the following:
- Using
update-alternatives
to set PHP 8.3 as the default CLI version. - Editing
/etc/php/8.3/fpm/php.ini
to increase:upload_max_filesize
,post_max_size
memory_limit
,max_execution_time
,opcache
settings, etc.
- Restarting
php8.3-fpm
afterward.
Is this the recommended approach in HestiaCP?
Should I also tune any other files (like pool configs or Hestia-specific overrides) for PHP-FPM under Hestia?
Thanks in advance for your guidance!
Best regards