MYSTERY ZILLION တွင် English သို့မဟုတ် Unicode ဖြင့်သာ အသုံးပြုခွင့်ရှိသည်။ ဇော်ဂျီ ၊ ဧရာ စသည်တို့ကို အသုံးပြုခွင့် မရှိ။ Unicode fonts များမှာ Mon3,Yunghkio, Myanamr3 စသည်များ အသုံးပြုနိုင်သည်။ Unicode Guide ကို ဒီမှာ Download ချပါ။ Zawgyi to Unicode Converter
Don't share ebook or software if nobody request. You can find free book websites on here. We are welcome for discussion or asking question instead.

How to configure PHP-FPM in Nginx.

edited April 2013 in Linux Server
Which configuration is best for 512MB ?? currently conf is;

pm = dynamic
pm.max_children = 4
pm.start_servers = 1
pm.min_spare_servers = 1
pm.max_spare_servers = 2
pm.max_requests = 500
listen =

Any recommendation for me???


  • Registered Users
    total used free shared buffers cached
    Mem: 508396 354724 153672 0 33048 190560
    -/+ buffers/cache: 131116 377280
    Swap: 0 0 0

  • edited April 2013 Administrators
    how many CPU do you have ? If you don't have quad core CPU , don't recommend max_children = 4.

    pm.min_spare_servers = 1
    pm.max_spare_servers = 2

    is OK.

    If you only have 1 CPU , use max_children = 1 instead of 4
  • edited April 2013 Registered Users
    any commend for changing that? only a few men left. :(
  • Administrators
    after changing

    pm.max_children = 1

    you need to reload php-fpm

    sudo service php-fpm restart

    in /etc/nginx/nginx.conf

    worker_processes 1; //if you have only 1 CPU , use 1 worker process

    sudo service nginx restart

  • Registered Users
    One more question!

    How to remove index.php after domain??
  • Administrators
    wordpress ရဲ့ Permalink Settings အတိုင်း nginx မှာ ပြန်ပြင်ပေးရတယ်။

    ကျွန်တော် သုံးထားတာကတော့

    Permalink /%category%/%postname%

    nginx config က

    #WordPress single blog rules.
    # Designed to be included in any server {} block.

    # This order might seem weird - this is attempted to match last if rules below fail.
    location / {
    try_files $uri $uri/ /index.php?$args;

    # Add trailing slash to */wp-admin requests.
    rewrite /wp-admin$ $scheme://$host$uri/ permanent;

    # Directives to send expires headers and turn off 404 error logging.
    location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
    expires 31d;
    log_not_found off;
    add_header Pragma public;
    add_header Cache-Control "public, must-revalidate, proxy-revalidate";

    # Uncomment one of the lines below for the appropriate caching plugin (if used).
    #include global/wordpress-wp-super-cache.conf;

    client_max_body_size 20M;

    include global/php.conf;
    ## Disable viewing .htaccess & .htpassword
    location ~ /\.ht {
    deny all;


Sign In or Register to comment.