Last 5.3 release ever available: PHP 5.3.29 - 5.3 now EOL
add a note add a note

User Contributed Notes 2 notes

yaplej at gmail dot com
10 hours ago
These were problems with php 5.5 on Windows Server 2012 R2.
They were OK in php 5.4 on Server 2003 R2.

Blank line above "<?php" prevents service from starting.

Using "
echo" anywhere seems to cause the service to be terminated.  Debug using a log file instead.

$logfile = 'c:\\temp\\mylog.log';
$log = fopen($logfile, 'a');
$logentry = "Stuff.\r\n";
$log, $logentry);
gospodin dot p dot zh at gmail dot com
1 year ago
win32service extension does not realize very important (as for me) method of ServiceBase::OnCustomCommand
"OnCustomCommand lets you specify additional functionality beyond starting, stopping, pausing and continuing services."
To Top