فدک - لینوکس - فرمان ری استارت سرویس‎ها در لینوکس
آخرین تغییرات : 2015-04-11تعداد بازدید : 169

فرمان ری استارت سرویس‎ها در لینوکس



Restart PHP by restarting your web-server

Type the following command as per your web-server.
Restart Apache for php service

If you are using Apache web server type the following command to restart the php:
# /etc/init.d/apache2 restart
OR
# apache2ctl restart

See how to restart Apache Web Server on Ubuntu Linux for more information.
Restart Nginx for php service

If you are using Nginx web-server type the following command to restart nginx:
# /etc/init.d/nginx restart
OR
# service nginx restart
OR
# nginx -s reload
Restart Lighttpd for php service

If you are using Lighttpd web-server type the following command to restart lightpd:
# /etc/init.d/lighttpd restart
OR
# service lighttpd restart
Restart PHP-FAM Fastcgi for PHP service

If you are running php via PHP-FAM fastcgi manager, use any one of the following as per your version of Linux/Unix:
# /etc/init.d/php-fpm restart
# /etc/init.d/php5-fpm restart
OR
# service php-fpm restart
OR
# service php5-fpm restart
OR
# restart php-fpm


      

2000-2016 CMS Fadak. ||| Version : 4.2-b1 ||| This page was produced in : 0.001 Seconds