FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
languages:php:index.html [2018/03/04 00:23] kurihara |
languages:php:index.html [2018/03/04 00:38] kurihara |
||
---|---|---|---|
Line 47: | Line 47: | ||
@task | @task | ||
def check_php_rpm(): | def check_php_rpm(): | ||
- | ''' | + | ''' |
- | | + | |
+ | run(" | ||
Line 65: | Line 66: | ||
def install_phpfpm_yum(): | def install_phpfpm_yum(): | ||
sudo(" | sudo(" | ||
+ | |||
+ | |||
+ | ## CentOS7 ## | ||
+ | @task | ||
+ | def install_php5.6_centos7(): | ||
+ | sudo(" | ||
+ | sudo(" | ||
+ | |||
+ | @task | ||
+ | def install_php7.0_centos7(): | ||
+ | sudo(" | ||
+ | sudo(" | ||
+ | |||
+ | @task | ||
+ | def install_php7.1_centos7(): | ||
+ | sudo(" | ||
+ | sudo(" | ||
+ | run(" | ||
+ | run(" | ||
+ | |||
+ | |||
+ | ## CentOS6 ## | ||
+ | @task | ||
+ | def install_php5.6_centos6(): | ||
+ | sudo(" | ||
+ | sudo(" | ||
+ | |||
+ | @task | ||
+ | def install_php7.0_centos6(): | ||
+ | sudo(" | ||
+ | sudo(" | ||
+ | |||
+ | @task | ||
+ | def install_php7.1_centos6(): | ||
+ | sudo(" | ||
+ | sudo(" | ||
+ | run(" | ||
+ | run(" | ||
+ | |||
+ | |||
+ | # | ||
+ | # Installing composer | ||
+ | # | ||
+ | @task | ||
+ | def install_composer(): | ||
+ | sudo(" | ||
+ | sudo(" | ||
My Sites
SNS
Copyright (c) 2024 FastHandle - IT Operations Examples All Rights Reserved.