Hi Emil, hi Lester,
Thanks for your comments and suggestions, both.
Yes, of course I should have used the matching driver in the first place
and not long after posting my earlier meassage I did just that.
Unfortunately, it still didn't work. The phpinfo() output shows that the
Interbase extension is loaded and the parameters are the same as on
other servers where I have similar applications running.
But on this particular server, each connection attempt results in
"Unable to complete network request to host "localhost". Failed to
establish a connection." - regardless of the target. (Same story
when using the full hostname, or trying to connect to a remote host.)
Meanwhile, the server on localhost is happily wating for connections
and perfecty reachable, be it with isql to localhost or from remote
clients, with isql or FlameRobin.
So the conclusion _would_ be that the driver file is the wrong one, or
corrupted, but it isn't.
I have now configured my php and firebird _exactly_ the same as on
another server where they work perfectly, and compared the driver files
(they turned out to be bit-for-bit equal).
But that one server works painlessly, and the new one fails. Firebird
works fine, PHP works fine, the app works, interbase.so loads without
errors, but connections fail. It's not SElinux either: I set it to permissive
when the trouble started, but to no avail.
I'm clueless and will have to face the customer in 1,5 day.
If anybody has a tip, I'd be grateful.
BTW, I *do* plan to switch to PDO. But that doesn't help for now;
I'll have to do a lot of rewriting for that.
Cheers!
Paul Vinkenoog