Re: Is it possible to restart Windows Apache (service) on a PHP script?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Why don't you try a 

  passthru('net apache restart')
  
perhabs another parameter order, but I think It won't work.
Stopping it might work, but restarting...



On Fr, Okt 19, 2007 at 04:32:45 +0800, Louie Miranda wrote:
> Is it possible to restart Windows Apache (service) on a PHP script?
> 
> i have installed PHP/Apache on a Windows machine. Added the ext windows32
> service.
> But could not find any how to or information online.
> 
> Please help!
> 
> -- 
> Louie Miranda (lmiranda@xxxxxxxxx)
> http://www.axishift.com
> 
> Security Is A Series Of Well-Defined Steps
> chmod -R 0 / ; and smile :)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux