Share this post:
Responses (5)
-
Accepted Answer
Do a "which php" and have a look at the executable which is a small script. If you have a file .phpenv in any folder from where you are executing the command up to the root with contents of 70, 71,72 or 73 (the file test is a bit out of date), then the relevant version of php should be used automatically. Try creating the .phpenv file. Alternatively use the full path to the executable. If you are using the Web Server, set the PHP version in the Web Server app. It can be set for each website individually. -
Accepted Answer
-
Accepted Answer
khvalera wrote:
I did this, but after enabling PHP 7.3 in the web interface, PHP 5.4.16 remains in the system.
php -v
PHP 5.4.16 (cli) (built: Apr 1 2020 04:07:17
That is the internal php version for webconfig.
I do not know any more how to check the webserver php version, but you should find it on the forum. -
Accepted Answer
-
Accepted Answer
Checkout the Marketplace.
You can install PHP 7.3 easily with the webconfig App
https://documentation.clearos.com/content:en_us:7_ug_php_engines
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »