Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lihat disini dulu http://kangniam.blogspot.com/2015/02/opsi-setelah-install-nginx-php5-fpm.html
- ===============================
- (1) optimasi mysql
- ===============================
- storage engine ke myisam
- /etc/my.cnf
- [mysqld]
- default-storage-engine=MYISAM
- ===============================
- (2) limit upload nginx
- ===============================
- /etc/nginx/nginx.conf
- http {
- ##
- # Basic Settings
- ##
- fastcgi_buffers 8 16k;
- fastcgi_buffer_size 32k;
- client_max_body_size 100m;
- ================================
- (3) limit upload php/phpmyadmin
- ================================
- upload_max_filesize = 2M
- post_max_size = 8M
- jadi:
- upload_max_filesize = 50M
- post_max_size = 50M
- ===============================
- (4) konfigurasi php.ini
- ===============================
- ;cgi.fix_pathinfo=1
- jadi:
- cgi.fix_pathinfo=0
- ===============================
- (5) cek konfigurasi www.conf
- ===============================
- /etc/php5/fpm/pool.d/www.conf
- listen = 127.0.0.1:9000
- jadi:
- listen = /var/run/php5-fpm.sock
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement