все нужные пакеты устанавливаются

yum --enablerepo=remi,remi-php72 install  **** название пакета *****

 

 

 

yum install gcc gcc-c++ autoconf automake

 

Next install GCC and GCC C++ compilers to compile Xdebug extension yourself.

yum install gcc gcc-c++ autoconf automake
yum --enablerepo=remi,remi-php72 install php-pecl-apcu php-cli php-pear \
 php-pdo php-mysqlnd php-pgsql php-pecl-mongodb php-pecl-memcache php-pecl-memcached \
 php-gd php-mbstring php-mcrypt php-xml

 

yum install curl-devel

 

ЭТО ПРОСТО ЗАМЕТА 

В CentOS,

Установите PHP Pear, если он еще не установлен:
# yum install php-pear

Установите GCC, если он еще не установлен:
# yum install gcc

Установите cURL, если он еще не установлен:
# yum install curl-devel

Установите следующую библиотеку, если она еще не установлена:
# yum install php-devel    # yum install zlib-devel    # yum install pcre-devel

Запустите основную установку:
# pecl install pecl_http

Добавьте следующую строку в файл /etc/php.ini расширение = raphf.so расширение = propro.so расширение = http.so
перезапустить сервер Apache, чтобы расширение можно было загрузить

 

в конце 

pecl install pecl_http

 

yum update
yum install php-devel gcc gcc-c++ autoconf automake
yum install php-pear
pecl install Xdebug
Then add the following line to the php.ini file:

zend_extension=/usr/lib64/php/modules/xdebug.so

https://sys-adm.in/os/nix/400-centos-install-xdebug-for-netbeans.html


http://xdebug.org/install.php#configure-php
Debugger Configuration Validation with PhpStorm
on CentOS: 1. You need to install PHP’s devel package for PHP commands execution yum install php-devel yum install php-pear 2. Next install GCC and GCC C++ compilers to compile Xdebug extension yourself. yum install gcc gcc-c++ autoconf automake 3. Compile Xdebug pecl install Xdebug 4. Find the php.ini file using locate php.ini And add the following line [xdebug] zend_extension="/usr/lib64/php/modules/xdebug.so" xdebug.remote_enable = 1 5. Restart Apache service httpd restart 6. Test if it works – create test.php with the following code <?php phpinfo() ?>

 

 

сервер

[root@vps-27610 ~]# history
    1  yum update
    2  yum install epel-release
    3  yum install nginx
    4  systemctl enable nginx
    5  systemctl start nginx
    6  rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
    7  yum install --enablerepo=epel,remi-php72 php php-mbstring
    8  yum install --enablerepo=epel,remi-php72  php-fpm
    9  systemctl start php-fpm
   10  systemctl enable php-fpm
   11  nano /etc/nginx/nginx.conf
   12  yum install nano
   13  yum install wget
   14  nano /etc/nginx/nginx.conf
   15  nginx -t
   16  systemctl restart nginx
   17  nano /etc/nginx/nginx.conf
   18  nano /usr/share/nginx/html/index.php
   19  yum install --enablerepo=epel,remi-php72   php-devel 
   20  yum install --enablerepo=epel,remi-php72  php-pear
   21  yum install gcc gcc-c++ autoconf automake
   22  nano /etc/php.ini
   23  sudo systemctl restart php-fpm
   24  pecl install xdebug
   25  sudo systemctl restart php-fpm
   26  nano /etc/php.ini
   27  sudo systemctl restart php-fpm
   28  nano /etc/php.d/15-xdebug.ini
   29  cd  /etc/php.d/
   30  ls
   31  nano /etc/php.d/15-xdebug.ini
   32  nano /etc/php.ini
   33  sudo systemctl restart php-fpm
   34  history
[root@vps-27610 ~]#

GIT

You can use WANDisco's CentOS repository to install Git 2.x: for CentOS 6, for CentOS 7

Install WANDisco repo package:

yum install http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm
- or -
yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-1.noarch.rpm
- or -
yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm
Install the latest version of Git 2.x:

yum install git
Verify the version of Git that was installed:

git --version