04-27-2009, 10:20 PM | #1 |
Junior Member
Join Date: Apr 2009
Posts: 5
|
Php script - restart apache
Hello
I have to restart my apache server via Ispmanager API is't possible to do ?
__________________
Darmowy hosting |
04-28-2009, 04:40 AM | #2 |
ISPsystem team
Join Date: Jan 2009
Posts: 111
|
At first you have to use one of authorization methods (they are described in the API documentation). For example, by using "authinfo":
Code:
https://your_ip/manager/ispmgr?authinfo=admin_name:admin_password&out=xml&func=services.restart&elid=HTTP |
05-03-2009, 08:52 PM | #3 |
Junior Member
Join Date: Apr 2009
Posts: 5
|
Is it making graceful restart ??
I have free hosting and after my client add his account i have to restart apache. What do you think if it will be good method ?
__________________
Darmowy hosting |
|
|