Nextcloud 24.0.5Release use PHP 8.1.10 ,Best experience

I tried to deploy with php8.1.10 in NC24.0.5. Enable JIT and use Function level optimization. I feel faster than ever in computationally intensive applications like thumbnail generation, music, online video, online photo viewing, etc.

Here is my PHp.conf configuration

opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=16
opcache.max_accelerated_files=10000000
opcache.memory_consumption=128
opcache.save_comments=1
;opcache.revalidate_freq=3600
opcache.validate_timestamps = 0
opcache.fast_shutdown=1
opcache.enable_file_override=1
opcache.optimization_leve=0x1FFFD
#jit
opcache.jit_buffer_size=256M
#disable fun jit
#opcache.jit_hot_func=0
#opcache.jit_hot_return=0
#opcache.jit=function
#best
#opcache.jit=1255
#opcache.jit=1205
opcache.jit=function
#opcache.jit=tracing
#opcache.jit=1215
#opcache.jit=1201
#memory
memory_limit=2048M
#upload
upload_max_filesize = 50G
post_max_size = 50G
#apcu
apc.shm_size=32M
apc.enable_cli=1
slam_defense=0
#debug
#display_errors = On
#error_reporting  =  E_ALL & ~E_NOTICE
#asset
zend.assertions=-1
assert.exception=0
1 Like

I used php8.1.10 FPM + nginx + PGSQL to run NC.
version: 8.1.10

PHP :
memoy: 2 GB

max exec time: 3600

max upload size: 50 GB

ExtensionCore, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, session, PDO, pdo_sqlite, standard, posix, readline, Reflection, Phar, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, apcu, bcmath, exif, gd, gmp, imagick, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, sodium, zip, Zend OPcache

database:
PostgreSQL 14.5

1 Like