note 76319 added to function.win32-start-service-ctrl-dispatcher

From: Date: Tue, 10 Jul 2007 12:41:37 +0000
Subject: note 76319 added to function.win32-start-service-ctrl-dispatcher
Groups: php.notes 
Request: Send a blank email to php-notes+get-128363@lists.php.net to get a copy of this message
Don't try to call "win32_start_service_ctrl_dispatcher" too late in your code. You'd trigger a #2186 error : "The service is not responding to the control function." (from commande line) or a #1053 error : "The service did not respond to the start or control request in a timely fashion." (from services GUI). Try not to load a bunch of PEAR classes before to register php script as Service like I did. Another good hint, to get a verbose version of the return code, you can call "NET HELPMSG ###" from command line where ### is your error code. ---- Server IP: 217.174.196.197 Probable Submitter: 81.252.87.9 ---- Manual Page -- http://www.php.net/manual/en/function.win32-start-service-ctrl-dispatcher.php Edit -- https://master.php.net/note/edit/76319 Del: integrated -- https://master.php.net/note/delete/76319/integrated Del: useless -- https://master.php.net/note/delete/76319/useless Del: bad code -- https://master.php.net/note/delete/76319/bad+code Del: spam -- https://master.php.net/note/delete/76319/spam Del: non-english -- https://master.php.net/note/delete/76319/non-english Del: in docs -- https://master.php.net/note/delete/76319/in+docs Del: other reasons-- https://master.php.net/note/delete/76319 Reject -- https://master.php.net/note/reject/76319 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#128363) next »