Установка Soap на CentOS 6 VPS

Alex

Administrator
Команда форума
LV
0
 
Instructions
  1. SSH to VPS as the root user.
  2. Install the the latest "EPEL" repo:

    CentOS 6 32 Bit
    Код:
    wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
    rpm -ivh epel-release-6-8.noarch.rpm
    CentOS 6 64 Bit
    Код:
    wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
    rpm -ivh epel-release-6-8.noarch.rpm
    [root@ws1 ~]# rpm -ivh epel-release-6-8.noarch.rpm
    Preparing...############################# [100%]1:epel-release ############################# [100%]
  3. Install "php-soap":
    [root@ws2 ~]# yum install php-soap
    Loaded plugin fastestmirror
    Loading mirror speeds from cached hostfile
    epel/metalink | 3.0 kB 00:00
    * base: mirror.overthewire.com.au
    * epel: mirror.overthewire.com.au
    * extras: mirror.overthewire.com.au
    * updates: mirror.aarnet.edu.au
    epel | 4.4 kB 00:00
    epel/primary_db | 6.3 MB 00:00
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package php-soap.x86_64 0:5.3.3-27.el6_5.2 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    ==================================================================
    Package Arch Version Repository Size
    ==================================================================
    Installing:
    php-soap x86_64 5.3.3-27.el6_5.2 updates 142 k

    Transaction Summary
    ==================================================================
    Install 1 Package(s)

    Total download size: 142 k
    Installed size: 324 k
    Is this ok [y/N]: y
    Downloading Packages:
    php-soap-5.3.3-27.el6_5.2.x86_64.rpm | 142 kB 00:00
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Warning: RPMDB altered outside of yum.
    Installing : php-soap-5.3.3-27.el6_5.2.x86_64 1/1
    Verifying : php-soap-5.3.3-27.el6_5.2.x86_64 1/1

    Installed:
    php-soap.x86_64 0:5.3.3-27.el6_5.2

    Complete!
  4. Restart Apache to apply the changes:
    Код:
    [root@ws1 ~]# service httpd restart
    Stopping httpd:[ OK ]Starting httpd:[ OK ]
  5. You can also check to confirm that soap has been installed:
    Код:
    [root@ws2 ~]# php -m | grep -i soap
    soap
Всего делов и SOAP у нас установлен
 
Сверху