Subject | Re: PDO Firebird and IIS 8 on Windows 8 |
---|---|
Author | lscesuk |
Post date | 2013-06-10T09:44:36Z |
Curious - posted an answer via email earlier but it's not appeared :(
Answers below
Answers below
--- In firebird-php@yahoogroups.com, "tombal93" <tombal93@...> wrote:
>
> Hello,
>
> I try to use Firebird 2.5 with PHP 5.4.16 on my windows 8.
> I activate php_interbase.dll and php_pdo_firebird.dll but when i use phpinfo() i can't see firebird in PDO drivers list.
Windows 8 may be the problem here. I'm waiting for M$ to restore the start button before I bother with it, but I have a working Apache powered setup on W7. I've never used IIS to serve up web pages but I believe that it does work.
There should be warnings in the log file if there is a problem loading pdo_firebird.dll ... is the extra php_ the problem?
> I put fbclient.dll and a renamed version (gds32.dll) in windows/system32.
> Can i use firebird 2.5 and PHP or is it a problem because FB is not supported with PHP 5.4 on windows ?
I though there were problems with 'security' allowing the addition of files to the windows/system32 folder on newer versions of windows. My copies tend to be in the same directory as the PHP executables.
> Is there anaother solution like ODBC to connect a FB 2.5 databse with PHP 5.4.16 ?
There are a number of other ways of accessing a Firebird database, but I'd start with php_interbase.dll and stick with that. I only use pdo when forced to use it to interface with projects mistakenly built against it What are you wanting to do with the database as we can probably point to other code which will help get you started. I use ADOdb as a base for my own code - and Linux for the server which is a LOT faster than windows on the same hardware