Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : win32service Functions : win32_start_service

win32_start_service

Starts a service ()
int win32_start_service ( string servicename [, string machine] )


Code Examples / Notes » win32_start_service

gunday

If you get a 1053 error when trying to launch your service, check your service script for errors!
E.g. if you have some syntax errors, the service will attempt to run the php interpreter, but the script won't answer to the service manager with
win32_start_service_ctrl_dispatcher('servicename').
Don't think it is because the call comes to late. It just never came, because there were errors. Test your services with CLI php and then try to run the service.


Change Language


Follow Navioo On Twitter
win32_create_service
win32_delete_service
win32_get_last_control_message
win32_query_service_status
win32_set_service_status
win32_start_service_ctrl_dispatcher
win32_start_service
win32_stop_service
eXTReMe Tracker