Re: win32service for PHP 5.1.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1 December 2010 22:55, Travis Veazey <travis.veazey@xxxxxxxxxxxxx> wrote:
> Richard,
>
> Thanks for the response. I did, with help from Justin on this list, find a
> version that had been compiled against 5.1.6 on PHP's releases page, and am
> currently putting together a test script using it to see what happens. If
> this works, this seems like the simplest solution, but if not, a
> dual-version install is not a bad idea at all -- thanks for the tip!
>
> -Travis
>
> On Wed, Dec 1, 2010 at 13:47, Richard Quadling <rquadling@xxxxxxxxx> wrote:
>>
>> On 1 December 2010 21:09, Travis Veazey <travis.veazey@xxxxxxxxxxxxx>
>> wrote:
>> > Hi all,
>> >
>> > First post to this list, so please forgive any inadvertent violations of
>> > decorum.
>> >
>> > I just today stumbled upon the win32service extension, which appears
>> > like it
>> > will do exactly everything that I've been looking toward external tools
>> > and
>> > utilities to do -- specifically, and unsurprisingly, installing a PHP
>> > script
>> > as a Windows service.
>> >
>> > However, PECL's page has no releases at all, and I can't seem to find
>> > the
>> > DLL for PHP 5.1.6; in fact, I've only seemed to find it for 5.2 and 5.3.
>> > Unfortunately, for reasons I'd rather not get into at the moment,
>> > upgrading
>> > my PHP version isn't an option right now; can anyone help me locate a
>> > DLL
>> > for this extension that will work for PHP 5.1.6?
>> >
>> > Thanks,
>> > Travis
>> >
>>
>> Hello Travis.
>>
>> I've done a lot of work on this extension recently. I'm only building
>> it for 5.3.4-dev. I've not got any tests for it either.
>>
>> I don't have VC6 (only VC9 Express Edition), so I can't build it for
>> 5.1.6. As it is really only of use in a CLI environment, it hasn't
>> been tested/compiled for ISAPI or a thread safe SAPI either.
>>
>> As far as I know, the current code has never been compiled for 5.1.6.
>>
>> Rather than upgrading PHP, why not just use 2 versions of PHP?
>>
>> PHP5.3CLI+Win32Service+whatever extensions you need just for the
>> service side of things.
>>
>> Keep it all in an un-PATH'd location.
>>
>> Use registry to load separate ini file for PHP versions on the
>> services machine and be careful about using new functionality in your
>> code if it is going to be cross version.

No problem. If you find anything not working, please report it.

If you need any help, then let me know. OOI, where was the
pre-compiled binary for 5.1.6?


-- 
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux