New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

PHP Version Switcher v2 not changing version

Started by Devanshu, December 05, 2021, 10:04:26 AM

Previous topic - Next topic

iraqiboy90

Quote from: flexsocialbox on February 01, 2022, 07:06:37 PM
am have 3 test servers VPS with centos stream 8.5 preinstalled Centos Stream 8 and use sandeep setup from step 2 step 3 step 4

https://www.mysterydata.com/convert-centos-8-to-centos-8-stream-install-cwp-control-panel-in-centos-8-stream/

PHP-FPM Selector works fine PHP Version Switcher v2 works  now olso after today automatic updated 

https://prnt.sc/26n0n2d
https://prnt.sc/26n0nif

I'm wondering why you have automatic updates enabled on php-fpm? Don't you have settings changed or secured in the php.ini files? These auto updates will reset php.ini every time.

Martins-phpbb

I'm not complaining at all i have not started a topic about  it failing to update  ;) i just pointed out the last update does not allow you to update php versions also i dont need to supply logs for it either another member has already in one of the four topics thats open  ::)

jijib

#17
If you get a sqlite3 error when switching from php 8.x to php 7.4 like undefined reference to 'sqlite3_ you can try and install a newer version of sqlite3:


cd /usr/local/src
wget https://www.sqlite.org/2022/sqlite-autoconf-3370200.tar.gz
tar xvfz sqlite-autoconf-3370200.tar.gz
cd sqlite-autoconf-3370200.tar.gz
CFLAGS="-DSQLITE_ENABLE_COLUMN_METADATA=1" ./configure
make & make install



rcschaff

Quote from: iraqiboy90 on February 01, 2022, 09:45:29 PM
Quote from: flexsocialbox on February 01, 2022, 07:06:37 PM
am have 3 test servers VPS with centos stream 8.5 preinstalled Centos Stream 8 and use sandeep setup from step 2 step 3 step 4

https://www.mysterydata.com/convert-centos-8-to-centos-8-stream-install-cwp-control-panel-in-centos-8-stream/

PHP-FPM Selector works fine PHP Version Switcher v2 works  now olso after today automatic updated 

https://prnt.sc/26n0n2d
https://prnt.sc/26n0nif

I'm wondering why you have automatic updates enabled on php-fpm? Don't you have settings changed or secured in the php.ini files? These auto updates will reset php.ini every time.

Your second screenshot tells you everything you need to know.  You are forcing all domains to use FPM, thus there is no need for a default PHP.  If you turn off forced FPM, please respond back with any errors you receive while switching.
Google Hangouts:  rcschaff82@gmail.com