Posted November 9, 20231 yr comment_262 Can't see the option to update PHP to latest 8.1.25 build. Can anyone tell how to update version? Thanks in advance,
November 9, 20231 yr Solution comment_266 for php switcher you can build it form source : follow Step 1 from here Step 2 : mkdir -p /usr/local/php-81 cd /usr/local/php-81 wget http://php.net/distributions/php-8.1.25.tar.gz tar zxvf php-8.1.25.tar.gz cd php-8.1.25 ./configure --with-config-file-path=/usr/local/php --enable-cgi --with-config-file-scan-dir=/usr/local/php/php.d --with-zlib=/usr --enable-mbstring --with-zip --enable-bcmath --enable-pcntl --enable-ftp --enable-exif --enable-calendar --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-tidy --with-curl --with-iconv --with-gmp --with-pspell --enable-gd --with-avif --with-jpeg --with-freetype --enable-gd-jis-conv --with-webp --with-zlib-dir=/usr --with-xpm --with-openssl --with-pdo-mysql=mysqlnd --with-gettext=/usr --with-bz2=/usr --with-mysqli --enable-soap --enable-phar --with-xsl --with-kerberos --enable-posix --enable-sockets --with-external-pcre --with-libdir=lib64 --with-mysql-sock=/var/lib/mysql/mysql.sock --enable-intl --with-password-argon2 --enable-litespeed --with-ldap=/usr --with-ldap-sasl=/usr make make install
November 10, 20231 yr Author comment_270 In my case I needed these parameters: --prefix=/opt/alt/php-fpm81/usr --with-config-file-path=/opt/alt/php-fpm81/usr/php --with-config-file-scan-dir=/opt/alt/php-fpm81/usr/php/php.d to make it work with PHP-FPM selector in CWP. I added it here to help others in my same situation. Edited November 10, 20231 yr by Fidolas
November 12, 20231 yr comment_278 8 hours ago, Starburst said: What about if you need ionCube support/enabled? Here is the steps to enable ioncube https://www.alphagnu.com/topic/9-install-php-82-from-source-latest-version-in-cwp-control-web-panel/?do=findComment&comment=215
November 26, 2023Nov 26 Author comment_293 On 11/12/2023 at 1:41 AM, Starburst said: What about if you need ionCube support/enabled? If you use JIT on PHP do not enable Ioncube because it makes the server to crash with segfaults errors. Use only one of them but not both.
November 26, 2023Nov 26 comment_296 15 hours ago, Fidolas said: If you use JIT on PHP do not enable Ioncube because it makes the server to crash with segfaults errors. Use only one of them but not both. It can be incompatibility with 2 modules.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now