note 93975 modified in function.win32-start-service-ctrl-dispatcher by danbrown

From: Date: Fri, 09 Oct 2009 16:15:49 +0000
Subject: note 93975 modified in function.win32-start-service-ctrl-dispatcher by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-161589@lists.php.net to get a copy of this message
Insert value of params between " if the string have a space: <?php // First you need to create a service, you only need to do this once /* win32_create_service(array( 'service' => 'myphpservice', 'display' => 'My PHP Service', 'params' => '"c:\\my folder\myphpservice.php"', 'path' => 'c:\\PHP\\php.exe')); */ ?> --was-- Insert value of params between " if the string have a space: // First you need to create a service, you only need to do this once /* win32_create_service(array( 'service' => 'myphpservice', 'display' => 'My PHP Service', 'params' => '"c:\\my folder\myphpservice.php"', 'path' => 'c:\\PHP\\php.exe')); */ http://php.net/manual/en/function.win32-start-service-ctrl-dispatcher.php

« previous php.notes (#161589) next »