diff --git a/config/wo.conf b/config/wo.conf index e4833c2..db91e60 100644 --- a/config/wo.conf +++ b/config/wo.conf @@ -79,7 +79,7 @@ keylength = "ec-384" [php] ### Default PHP version -version = 8.3 +version = 8.5 [mariadb] diff --git a/install b/install index d9b9612..b124f4a 100755 --- a/install +++ b/install @@ -773,7 +773,7 @@ wo_woconf() { echo -e '\n[letsencrypt]\n\nkeylength = "ec-384"' >>/etc/wo/wo.conf fi if ! grep -q "php" /etc/wo/wo.conf; then - echo -e '\n[php]\n\nversion = 8.2' >>/etc/wo/wo.conf + echo -e '\n[php]\n\nversion = 8.5' >>/etc/wo/wo.conf fi fi } diff --git a/wo/core/variables.py b/wo/core/variables.py index e5f683e..aff8d54 100644 --- a/wo/core/variables.py +++ b/wo/core/variables.py @@ -141,12 +141,14 @@ class WOVar(): def generate_lsphp_modules(version_prefix, version_number): """Generate LSPHP module package list for a given PHP version. - LSPHP packages use lsphpXX- naming (no dot in version).""" + LSPHP packages use lsphpXX- naming (no dot in version). + Note: gd, mbstring, xml, zip, soap, imap are bundled in + lsphp-common and do not have separate packages.""" short_ver = version_number.replace('.', '') - wo_module = ["common", "curl", "gd", "igbinary", - "imagick", "imap", "intl", "mbstring", "memcached", "msgpack", - "mysql", "opcache", "redis", "soap", - "xml", "zip"] + wo_module = ["common", "curl", "igbinary", + "imagick", "intl", "memcached", "msgpack", + "mysql", "opcache", "pear", "redis", + "snmp", "sqlite3", "tidy"] # lsphp packages: lsphpXX, lsphpXX-common, lsphpXX-curl, etc. php_modules = ["lsphp{0}".format(short_ver)]