Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - AdnanSarwar01

Pages: [1]
PHP Selector / Re: Unable to update PHP 5.6.37 to 7.4
« on: December 18, 2021, 07:40:20 PM »
Are you using OpenVZ as your environment?

Probably some modules are missing, like Lip Sodium, you need to check your logs.

Change the PHP version and run in your ssh: tail -f /var/log/php-rebuild.log.

If you follow the installation logs, you may find the problems there.

Thanks for your reply.

I'm using KVM.

Anyways the problem is solved.

After searching a lot. I first ran this command to install the missing libraries.

Code: [Select]
yum install oniguruma oniguruma-devel gcc make gcc-c++ cpp kernel-headers.x86_64 libxml2-devel openssl-devel bzip2-devel libjpeg-devel libpng-devel freetype-devel openldap-devel postgresql-devel aspell-devel net-snmp-devel libxslt-devel libc-client-devel libicu-devel gmp-devel curl-devel libmcrypt-devel pcre-devel sqlite-devel db4-devel enchant-devel libXpm-devel mysql-devel readline-devel libedit-devel recode-devel libtidy-devel libtool-ltdl-devel libwebp libwebp-devel expat expat-devel
Then as per your suggestion, I ran this command to install sodium for php74 (Yes, it was missing and was not previously installed)
Code: [Select]
sudo yum --enablerepo=remi-php74 install php-sodium
Then I went to the PHP version Switcher and again rebuilt and now it was built successfully and now my CWP is using 7.4.26

PHP Selector / Re: Unable to update PHP 5.6.37 to 7.4
« on: December 18, 2021, 01:26:13 PM »
I tried to update to 7.3.33 but still after an hour - NO Success! :( :(

PHP Selector / Unable to update PHP 5.6.37 to 7.4
« on: December 18, 2021, 10:33:01 AM »
 I recently installed CWP and it came with PHP 5.6 installed.

I went to CWP > PHP Settings > Switcher and selected 7.4.26 and rebuilt it.

Even after hours, the version is still the same 5.6.x

What's wrong in here? Can you please help?

I tried to change version for like 3-4 times (different days). But it's still not updated. Please assist me. Thanks

Pages: [1]