Subject | RE: [firebird-php] PHP-CLI and event handling |
---|---|
Author | Alan McDonald |
Post date | 2005-08-11T22:14:27Z |
> We need to handle events from scripts running on Linux and WindowsPHP is fairly minimal anyway - there's only one exe script interpreter. You
> servers. After a brief search we've decided that the best support is
> offered by PHP (as an aside, does anyone know of a Firebird module for
> Perl?).
> Having never developed in PHP, is there any advice or tips anyone wants
> to offer?
>
> The basic script would be started by cron, register an event handler,
> and then wait until the handler executed and notified the main thread it
> was done, or the main thread reached a timeout threshold, deregistered
> the event handler and exited.
>
> I also want to make sure we're running a minimum install of PHP, as it
> won't be used for HTTP traffic.
>
> Thanks, Rick DeBay
only need to decalre the extensions you require in the php.ini file e.g.
interbase.dll.
I don't know how to make php register interest in an event and scripts are
subject to another script timeout setting as well. You will need to make
that very long I guess.
I think there is a perl firebird connection somewhere.
Alan