[prev in list] [next in list] [prev in thread] [next in thread] 

List:       monetdb-developers
Subject:    Re: [Monetdb-developers] php5 interface
From:       Martin Kersten <Martin.Kersten () cwi ! nl>
Date:       2008-05-09 18:00:53
Message-ID: 48249155.4070508 () cwi ! nl
[Download RAW message or body]

Michiel Kamermans wrote:
> Martin,
>
> A test using windows XP with PHP 5.2.6 and MonetDB seems to work just 
> fine. I suspect that this means that in Vista monetDB won't be able to 
> interface with PHP either, as the core is essentially the same as the 
> one used in windows server 2008... I am not a windows expert myself 
> when it comes to figuring out API differences, so I wouldn't know 
> where to look... but I do have one improvement to the php file in the 
> /share/php dir:
>
> Right now it auto-assumes running on *nix, automatically calling 
> dl('monetdb.so'). A change for this line to the following would make 
> the script usable on both *nix and windows:
>
> $ext="monetdb";
> if (!extension_loaded($ext)) {
>    $prefix = (PHP_SHLIB_SUFFIX === 'dll') ? 'php_' : '';
>    dl($prefix . $ext . '.' . PHP_SHLIB_SUFFIX); }
>
> Regards,
Thank you very much for the information provided, we will take this 
suggestion into consideration
>
> Mike Kamermans
> (who will now no doubt spend a nice bit of time in XP doing 
> benchmarking =)


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Monetdb-developers mailing list
Monetdb-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-developers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic