1
Indonesia Users / Re: Perbesar kapasitas Hardisk
« on: 2022-03-20, 13:51:14 »
menyimak
![Grin ;D](https://forum.mratwork.com/Smileys/default/grin.gif)
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
sy milih versi php nya pake ini pakCode: [Select]<FilesMatch \.php$>
nah kalo saja jalankan fix all, ntar htaccess di bagian filematch nya jadi ada # nya lg. jd phpnya kebali ke defaultnya
#SetHandler x-httpd-php
#SetHandler x-httpd-php54
#SetHandler x-httpd-php55
SetHandler x-httpd-php56
#SetHandler x-httpd-php70
#SetHandler x-httpd-php71
#SetHandler x-httpd-php72
#SetHandler x-httpd-php73
</FilesMatch>
<FilesMatch \.php$>
#SetHandler x-httpd-php
#SetHandler x-httpd-php54
#SetHandler x-httpd-php55
SetHandler x-httpd-php56
#SetHandler x-httpd-php70
#SetHandler x-httpd-php71
#SetHandler x-httpd-php72
#SetHandler x-httpd-php73
</FilesMatch>
nah kalo saja jalankan fix all, ntar htaccess di bagian filematch nya jadi ada # nya lg. jd phpnya kebali ke defaultnya
###Start Kloxo PHP config Area
### begin content - please not remove this line
#<IfModule mod_rewrite.c>
# ## MR -- authentically for letsencrypt for webroot-based
# RewriteRule /\.|^\.(?!well-known/) - [F]
#</FilesMatch>
### MR -- using php version different with default php
### 1. Using suphp
### - Copy between '#<FilesMatch \.php$>' to '#</FilesMatch>' and
### then remove '#' from '#<FilesMatch', '#</FilesMatch>' and one of '#SetHandler'
<FilesMatch \.php$>
#SetHandler x-httpd-php
#SetHandler x-httpd-php54
#SetHandler x-httpd-php55
SetHandler x-httpd-php56
#SetHandler x-httpd-php70
#SetHandler x-httpd-php71
#SetHandler x-httpd-php72
#SetHandler x-httpd-php73
</FilesMatch>
### OR
### 2. Using fcgid
### - Copy from '#Options' to '#FCGIWrapper' and
### then remove '#' for one of '#FCGIWrapper'
#Options +ExecCGI
#<FilesMatch \.php$>
# SetHandler fcgid-script
#</FilesMatch>
#FCGIWrapper /usr/bin/php-cgi .php
#FCGIWrapper /usr/bin/php54m-cgi .php
#FCGIWrapper /usr/bin/php55m-cgi .php
#FCGIWrapper /usr/bin/php56m-cgi .php
#FCGIWrapper /usr/bin/php70m-cgi .php
#FCGIWrapper /usr/bin/php71m-cgi .php
#FCGIWrapper /usr/bin/php72m-cgi .php
#FCGIWrapper /usr/bin/php73m-cgi .php
### end content - please not remove this line
###End Kloxo PHP config Area
1. Pindahkan database dan website dari admin ke client lain
2. Dari client baru ini setting fastcgi children dengan nilai 30-60 pada 'limit'
3. install apc/xcache pada php (jika pakai php54 pada php-branch maka jalankan 'yum install php54-pecl-apc -y'
4. install pagespeed pada apache dengan 'yum install mod-pagespeed-stable -enablerepo=*pagespeed* -y'
5. pilih 'low' pada 'apache optimize' di 'webserver configure'
6. install cache manager pada aplikasi (misalnya hypercache di wordpress)
7. terakhir, restart service dengan 'sh /script/restart-all -y'