вторник, 23 сентября 2014 г.

Restarting php-fpm

  • Using SysV Init scripts directly:
    /etc/init.d/php-fpm restart    # typical
    /etc/init.d/php5-fpm restart   # debian-style
    
  • Using service wrapper script
    service php-fpm restart    # typical
    service php5-fpm restart   # debian-style
    
  • Using Upstart (e.g. ubuntu):
    restart php5-fpm           # typical (ubuntu is debian-based)
    restart php-fpm            # uncommon
    
  • Using systemd (newer servers):
    systemctl restart php-fpm.service    # typical
    systemctl restart php5-fpm.service   # uncommon
    

Комментариев нет:

Отправить комментарий