PHP de exec ve system komutları konsolda işlem yapmak içindir

örnek

<?
system("/etc/init.d/httpd restart");
?>