Posted July 25Jul 25 @Sandeep B. Since CWP is now 2 versions behind the current versions, was wondering if you could post how to manually update PHP and PHP-FPM?Along with the options for ionCube, LDAP, and mailparse.Thanks Edited July 25Jul 25 by Starburst
August 1Aug 1 Author Either PHP 8.3 or 8.4Another 8.3 (8.3.24) release just came out on 2025-07-31, along with 8.4.11So now CWP is 3 version behind on 8.3, 2 versions behind on 8.2 and 8.1, and it doesn't even have 8.4.xIf you could post the build string here, or update the guide for 8.3 to include ionCube, LDAP, and mailparse that would be great, and I could go modify all the servers.Is it just as simple as adding --enable-ldap --enable-mailparse ?Thanks Edited August 1Aug 1 by Starburst I can't tyep. lol
August 28Aug 28 Author CWP is now 4 versions behind with 8.3Last version in CWP is 8.3.21, php.net just released 8.3.25 today which fixes additional bugs & CVE's.CWP has release several version, but hasn't updated the PHP versions 8.1, 8.2 or 8.3.Even though they contain critical bug & CVE's fixes.@Sandeep B. Why is CWP failing so behind?? Edited August 28Aug 28 by Starburst
September 15Sep 15 Hi @Sandeep B. Updated PHP and PHP 8.4 would be very desirable. Is there anything we can do to help make this happen?For example, I manage more than 15 CWP Pro licenses on different servers, and most of them - the owners - are urging me to upgrade.
Friday at 06:15 PM5 days We could also use the PHP packages described in https://blog.remirepo.net/ . Remi's PHP versions are automatically updated, its have everything wee need for AlmaLinux 9.x, we just need to configure the PHP-FPM service and coordinate it with the CWP Apache and NGINX vhost templates.And this can be done even without the GUI.I use a similar setup on my development system under Ubuntu with the multi-php repo there.
Friday at 09:47 PM5 days I did an experiment with Remi based multi PHP.Here is the install script:#!/usr/bin/env bash set -euo pipefail # --- 0. Repos dnf install -y epel-release dnf install -y https://rpms.remirepo.net/enterprise/remi-release-9.rpm # --- 1. Which PHP SCL version do you want to install VERSIONS=("php83" "php84") # If only 8.4 needs, let: ("php84") # Base PHP exts (for both PHP versions) BASE_PKGS=( php-fpm php-cli php-common php-opcache php-mysqlnd php-mbstring php-zip php-bcmath php-process php-exif php-calendar php-tidy php-curl php-iconv php-gmp php-pspell php-gd php-xml php-xsl php-soap php-intl php-imap php-sockets php-sodium php-gettext php-bz2 ) # PECL add-ons (Usually used with CWP Pro ) PECL_PKGS=( php-pecl-imagick-im7 php-pecl-memcache php-pecl-redis php-pecl-apcu php-pecl-mcrypt # you may remove it, if no need ) # System libs for GD (webp/avif/jpeg/freetype) and imagick running dnf install -y libavif libwebp libjpeg-turbo freetype ImageMagick aspell aspell-en # --- 2. Install the selected SCL PHP for V in "${VERSIONS[@]}"; do SAFE_PREFIX="${V/83/83}" # for example: V e.g. "php84" echo "===> Installing: ${V} (Remi SCL)" dnf --enablerepo=remi-safe install -y \ $(printf '%s ' "${BASE_PKGS[@]/#/$(echo $V)-}") \ $(printf '%s ' "${PECL_PKGS[@]/#/$(echo $V)-}") done # --- 3. Service start (itt most a 8.4-et engedélyezzük) systemctl daemon-reload systemctl enable php84-php-fpm systemctl restart php84-php-fpm systemctl enable php83-php-fpm systemctl restart php83-php-fpm echo "=== Ready: Remi SCL PHP 8.3, 8.4 installed."The place of php-fpm pool is: `nano /etc/opt/remi/php84/php-fpm.d/%username%.conf` where the %username% is the account name as usually in CWP Pro.php-fpm pool template with manual setup:[%username%] listen = /var/opt/remi/php84/run/php-fpm/%backend%.sock listen.owner = "%username%" listen.group = nobody listen.mode = 0660 user = "%username%" group = "%username%" pm = ondemand pm.max_children = 4 pm.max_requests = 4000 pm.process_idle_timeout = 15s rlimit_files = 131072 rlimit_core = unlimited catch_workers_output = yes env[HOSTNAME] = $HOSTNAME env[TMP] = %home%/%username%/tmp env[TMPDIR] = %home%/%username%/tmp env[TEMP] = %home%/%username%/tmp env[PATH] = /opt/remi/php84/root/usr/bin:/usr/local/bin:/usr/bin:/binIf you use PHP 8.3 change version and set path accordingly.Change in generated Vhost template manually:<FilesMatch \.php$> SetHandler "proxy:unix:/var/opt/remi/php84/run/php-fpm/%username%.sock|fcgi://localhost" </FilesMatch>The only drawback is that we cannot use the excellent GUI features of CWP Pro this way, but everything runs flawlessly, and this PHP (both 8.3 and 8.4) integrates the correct version of OpenSSL 3.x.@Starburst You can try it.@Sandeep B. How we can integrate it into GUI ? Edited Friday at 09:48 PM5 days by TheHolbi typo: username - backend
Create an account or sign in to comment