Fidolas Posted November 9, 2023 Share Posted November 9, 2023 Can't see the option to update PHP to latest 8.1.25 build. Can anyone tell how to update version? Thanks in advance, Link to comment Share on other sites More sharing options...
Solution Sandeep B. Posted November 9, 2023 Solution Share Posted November 9, 2023 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 Link to comment Share on other sites More sharing options...
Fidolas Posted November 10, 2023 Author Share Posted November 10, 2023 Thanks a lot. I will try it Link to comment Share on other sites More sharing options...
Fidolas Posted November 10, 2023 Author Share Posted November 10, 2023 (edited) 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, 2023 by Fidolas 1 Link to comment Share on other sites More sharing options...
Starburst Posted November 12, 2023 Share Posted November 12, 2023 What about if you need ionCube support/enabled? Link to comment Share on other sites More sharing options...
Sandeep B. Posted November 12, 2023 Share Posted November 12, 2023 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 Link to comment Share on other sites More sharing options...
Fidolas Posted November 26, 2023 Author Share Posted November 26, 2023 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. Link to comment Share on other sites More sharing options...
Sandeep B. Posted November 26, 2023 Share Posted November 26, 2023 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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