Save output from PHP install

This commit is contained in:
rperper
2018-11-09 12:37:39 -05:00
parent 1c3df3d361
commit ef0fbe9c30

View File

@@ -232,7 +232,7 @@ class InstallCyberPanel:
command = 'DEBIAN_FRONTEND=noninteractive apt-get -y install ' \
'lsphp7? lsphp7?-common lsphp7?-curl lsphp7?-dev lsphp7?-imap lsphp7?-intl lsphp7?-json ' \
'lsphp7?-ldap lsphp7?-mysql lsphp7?-opcache lsphp7?-pspell lsphp7?-recode ' \
'lsphp7?-sqlite3 lsphp7?-tidy'
'lsphp7?-sqlite3 lsphp7?-tidy > /var/log/installPHPs 2>&1'
res = os.system(command)
else:
command = 'yum -y groupinstall lsphp-all'