Skip to content

Commit

Permalink
fix for the cpanel installer
Browse files Browse the repository at this point in the history
  • Loading branch information
detain committed Oct 22, 2019
1 parent 3dff43c commit 76f2ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/create.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ if [ $cpanel -eq 1 ]; then
iprogress 99
prlctl exec {$vzid} '/usr/local/cpanel/bin/rebuild_phpconf --default=ea-php72 --ea-php72=lsapi'
prlctl exec {$vzid} '/usr/sbin/whmapi1 php_ini_set_directives directive-1=post_max_size%3A32M directive-2=upload_max_filesize%3A128M directive-3=memory_limit%3A256M version=ea-php72'
prlctl exec {$vzid} 'cd /opt/cpanel; for i in $(find * -name "ea-php*"); do /usr/local/cpanel/bin/rebuild_phpconf --default=ea-php72 --$i=lsapi; done'
prlctl exec {$vzid} 'cd /opt/cpanel; for i in $(find * -maxdepth 0 -name "ea-php*"); do /usr/local/cpanel/bin/rebuild_phpconf --default=ea-php72 --$i=lsapi; done'
prlctl exec {$vzid} '/scripts/restartsrv_httpd'
fi;
iprogress 100

0 comments on commit 76f2ea9

Please sign in to comment.