Author Topic: PHP Version Switcher v2 not change  (Read 1502 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
PHP Version Switcher v2 not change
« on: December 28, 2021, 12:31:34 AM »
Well, I was all day trying to change the version of php, from 8.0 to 8.1 that the panel shows. (php settings-> php info).

In php selector v2 I have php 8.1 installed.
In php fmp selector I have php 8.1 active

and when I go to the php version switcher V2, I select php 8.1, I hope what is necessary because it takes time, I check the log with: tail -f /var/log/php-rebuild.log

Everything ok, but at the end of the process, I check php settings-> php info and I still have the old version.  >:(

If I login to the server as a website account user, php -v:
PHP 8.0.0 (cli) (built: Dec 27 2021 19:27:29) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.0.0-dev, Copyright (c) Zend Technologies


If I login as root, php -v (the version I want !!)

PHP 8.1.1 (cli) (built: Dec 15 2021 02:00:45) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.1.1, Copyright (c) Zend Technologies

Any idea? What am I forgetting?