• Вход
  • Регистрация

Устанавливаем дополнительную версию php 8.1 на VestaCP, Устанавливаем дополнительную версию php на VestaCP под управлением Cen


    Фотография
       (0 голосов)
    Данной теме более 240 дней, она устарела.
    По умолчанию VestaCP устанавливает на ваш сервер только одну версию PHP. Это может быть v7.x или v8.x в зависимости от вашей системы и версии VestaCP.

    В данной теме мы рассмотрим установку дополнительной версии php 8.1. По аналогии можно так же установить и другие php версии 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 и 8.0.

    Подключаем репозиторий если он не подключен.
    wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    wg
    et http://rpms.remirepo.net/enterprise/remi-release-7.rpm rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm

    Выполняем настройки
    yum install yum-utils
    yum-config-manager --enable remi-php81

    Выполняем загрузку установщика
    wget http://dle-forum.ru/php/vst-install-php.sh

    Выполняем установку селектора PHP на VestaCP, используя эту простую команду:
    bash vst-install-php.sh --php81

    После установки, если прошло все штатно то вы увидите сообщение:


    На этом установка закончена, теперь установленную нами новую версию php можно выбрать в панели управления


    Для того что бы при выполнении обновления в консоли командой yum update не обновилась основная версия php до 8.1 выполняем данную команду:
    yum-config-manager --disable remi-php81


    На этом установка завершена. Если вам требуется установить дополнительные версии php выполняем по аналогии данной инструкции.

      Спасибо, еще не выражали.
      Здравствуйте.
      при установке по этому мануалу получаю ошибку:
      --> Обработка зависимостей: php(language) >= 8 пакета: php-google-recaptcha-1.3.0-1.el7.remi.noarch
      ---> Пакет roundcubemail.noarch 0:1.6.6-1.el7.remi помечен как обновление
      --> Обработка зависимостей: php(language) >= 7.3 пакета: roundcubemail-1.6.6-1.el7.remi.noarch
      epel/x86_64/filelists_db | 12 MB 00:00
      nginx/x86_64/filelists_db | 112 kB 00:00
      remi/filelists_db | 4.4 MB 00:00
      updates/7/x86_64/filelists_db | 14 MB 00:20
      vesta/x86_64/filelists_db | 216 kB 00:00
      http://yum.mariadb.org/10.3/centos7-amd64/repodata/f554719c5cd4339f5ff33f3
      ec6b20e88cb47dd69b9a956bce02571844e43ffbf-filelists.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found Пробуем другое зеркало. One of the configured repositories failed (MariaDB), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Run the command with the repository temporarily disabled yum --disablerepo=mariadb ... 4. Disable the repository permanently, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable mariadb or subscription-manager repos --disable=mariadb 5. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=mariadb.skip_if_unavailable=true failure: repodata/f554719c5cd4339f5ff33f3ec6b20e88cb47dd69b9a956bce02571844e43ffbf-fileli
      sts.sqlite.bz2 from mariadb: [Errno 256] No more mirrors to try. http://yum.mariadb.org/10.3/centos7-amd64/repodata/f554719c5cd4339f5ff
      33f3ec6b20e88cb47dd69b9a956bce02571844e43ffbf-filelists.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found

        Спасибо, еще не выражали.

        Цитата: OTM


        Здравствуйте.
        при установке по этому мануалу получаю ошибку:
        --> Обработка зависимостей: php(language) >= 8 пакета: php-google-recaptcha-1.3.0-1.el7.remi.noarch
        ---> Пакет roundcubemail.noarch 0:1.6.6-1.el7.remi помечен как обновление
        --> Обработка зависимостей: php(language) >= 7.3 пакета: roundcubemail-1.6.6-1.el7.remi.noarch
        epel/x86_64/filelists_db | 12 MB 00:00
        nginx/x86_64/filelists_db | 112 kB 00:00
        remi/filelists_db | 4.4 MB 00:00
        updates/7/x86_64/filelists_db | 14 MB 00:20
        vesta/x86_64/filelists_db | 216 kB 00:00
        http://yum.mariadb.org/10.3/centos7-amd64/repodata/f554719c5cd4
        339f5ff33f3 ec6b20e88cb47dd69b9a956bce02571844e43ffbf-filelists.sqlite.bz2
        8; [Errno 14] HTTP Error 404 - Not Found Пробуем другое зеркало. One of the configured repositories failed (MariaDB), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Run the command with the repository temporarily disabled yum --disablerepo=mariadb ... 4. Disable the repository permanently, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable mariadb or subscription-manager repos --disable=mariadb 5. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=mariadb.skip_if_unavailable=true failure: repodata/f554719c5cd4339f5ff33f3ec6b20e88cb47dd69b9a956bce02571844e43ffbf-fileli
        sts.sqlite.bz2 from mariadb: [Errno 256] No more mirrors to try. http://yum.mariadb.org/10.3/centos7-amd64/repodata/f554719c5cd4339f5
        ff 33f3ec6b20e88cb47dd69b9a956bce02571844e43ffbf-filelists.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found

        Напишите в личные сообщения, поможем с установкой.

          Спасибо, еще не выражали.

          • Количество пользователей, читающих эту тему: 1   0 пользователей, 1 гостей


          Информация
          Посетители, находящиеся в группе Гости, не могут оставлять ответы в данном форуме.

          • АКТУАЛЬНАЯ ВЕРСИЯ 6.0.0

            Для бесплатной версии актуальная версия 3.0.

          • ДЕМО САЙТ: DEMO.EVOBB.RU

            Демо сайт форума версии 6.0.0.

          • Помощь проекту

              Собрано 529.00 рублей

              Вы можете пожертвовать небольшую сумму денег, которая поможет развитию форума EVObb и нашего ресурса.
          • Внесли свой вклад

            • Нет аватарки
              От archi: Пользователь не оставил комментария
            • Нет аватарки
              От compik: На развитие форума
            • Нет аватарки
              От Igor: Пользователь не оставил комментария
            • Нет аватарки
              От flour: Пользователь не оставил комментария
            • Нет аватарки
              От Олег Концов: Пользователь не оставил комментария
            • Нет аватарки
              От Олег Концов: Пользователь не оставил комментария
          • Изменения статуса

          • Самые активные