Opsi Setelah Install nginx, php5-fpm, mysql, phpmyadmin

habis install debian disini http://pastebin.com/GwxmwCKD lalu edit konfigurasi default nginx disni http://pastebin.com/DnYBb2nk

edit dibawah ini:

===============================
(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

selesai restart.

Tidak ada komentar :

Posting Komentar

Leave A Comment...