Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Springshen/d8802af0f690f54892f5566d109f7a6c to your computer and use it in GitHub Desktop.
Save Springshen/d8802af0f690f54892f5566d109f7a6c to your computer and use it in GitHub Desktop.

Revisions

  1. @kenzo0107 kenzo0107 revised this gist Jul 16, 2016. 1 changed file with 2 additions and 8 deletions.
    10 changes: 2 additions & 8 deletions CentOS7 に PHP5.6 インストール.md
    Original file line number Diff line number Diff line change
    @@ -1,16 +1,10 @@
    # CentOS7 に PHP5.6 インストール

    ##### rootユーザに変更

    ```
    $ sudo su -
    #
    ```


    ## PHP5.6 インストール

    ```
    $ sudo su
    // 2016.07.16現在 epel-release-7-7
    # rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/7/x86_64/e/epel-release-7-7.noarch.rpm
  2. @kenzo0107 kenzo0107 revised this gist Jul 16, 2016. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions CentOS7 に PHP5.6 インストール.md
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,9 @@ $ sudo su -
    ## PHP5.6 インストール

    ```
    // 2016.07.16現在 epel-release-7-7
    # rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/7/x86_64/e/epel-release-7-7.noarch.rpm
    # rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
    # yum install -y --enablerepo=remi --enablerepo=remi-php56 php php-fpm php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof
    ```
  3. @kenzo0107 kenzo0107 revised this gist Jul 16, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion CentOS7 に PHP5.6 インストール.md
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ $ sudo su -
    ## PHP5.6 インストール

    ```
    # rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
    # rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/7/x86_64/e/epel-release-7-7.noarch.rpm
    # rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
    # yum install -y --enablerepo=remi --enablerepo=remi-php56 php php-fpm php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof
    ```
  4. @kenzo0107 kenzo0107 revised this gist Jul 16, 2015. 1 changed file with 3 additions and 6 deletions.
    9 changes: 3 additions & 6 deletions CentOS7 に PHP5.6 インストール.md
    Original file line number Diff line number Diff line change
    @@ -1,25 +1,22 @@
    # CentOS7 に PHP5.6 インストール

    ## 概要

    AWS CentOS7 t2.micro インスタンスに PHP5.6をインストールする。

    ##### rootユーザに変更

    ```
    $ sudo su -
    #
    ```


    ##### PHP5.6 インストール
    ## PHP5.6 インストール

    ```
    # rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
    # rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
    # yum install -y --enablerepo=remi --enablerepo=remi-php56 php php-fpm php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof
    ```

    ##### バージョン確認
    ## バージョン確認

    ```
    # php -v
  5. @kenzo0107 kenzo0107 revised this gist Jul 16, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion CentOS7 に PHP5.6 インストール.md
    Original file line number Diff line number Diff line change
    @@ -16,7 +16,7 @@ $ sudo su -
    ```
    # rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
    # rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
    # yum install -y --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof
    # yum install -y --enablerepo=remi --enablerepo=remi-php56 php php-fpm php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof
    ```

    ##### バージョン確認
  6. @kenzo0107 kenzo0107 created this gist Jul 16, 2015.
    34 changes: 34 additions & 0 deletions CentOS7 に PHP5.6 インストール.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,34 @@
    # CentOS7 に PHP5.6 インストール

    ## 概要

    AWS CentOS7 t2.micro インスタンスに PHP5.6をインストールする。

    ##### rootユーザに変更

    ```
    $ sudo su -
    ```


    ##### PHP5.6 インストール

    ```
    # rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
    # rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
    # yum install -y --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof
    ```

    ##### バージョン確認

    ```
    # php -v
    PHP 5.6.11 (cli) (built: Jul 12 2015 20:13:00)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    with Xdebug v2.3.3, Copyright (c) 2002-2015, by Derick Rethans
    ```

    以上