I was looking for a long time the possibility of installing php 7.X for Centosa7 and panel vestacp.
Us alone installer installs PHP version 5.6 because that is the default repositories.
I was able to run without invasive php7 on a server with CentOS and the whole comes down to perform several commands.
We can replace php with this method 5.6 version 7.0.X or 7.1.X
We start by updating:
yum update
Then we check the currently installed version of php:
php -v
Installing the necessary package:
sudo yum install yum-utils
Then we add a dependent repository which version of php we want to install:
Dla PHP 7.1
yum-config-manager --enable remi-php71
dla PHP 7.0.X
yum-config-manager --enable remi-php70
Then we update:
yum update
When everything went well, we restart the services: php, httpd oraz nginx:
HTTPD:
sudo service httpd restart
PHP i Nginx:
sudo service php-fpm restart && sudo service nginx restart
Again, we can check the php version with the command
php -v
Instead of the version 5.6 we should see the chosen version of php:
PHP 7.1.8 (cli) (built: Aug 2 2017 12:13:05) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń…
Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji…
Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w…
You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania…
Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.…
The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy…