FirebirdSQL / php-firebird

Firebird PHP driver
Other
66 stars 15 forks source link

ibase_service_attach doesn't allow local connection to Services API #53

Open avp-novgorod opened 8 months ago

avp-novgorod commented 8 months ago

Function ibase_service_attach always use the connection pattern "%s:service_mgr" which initiates TCP/IP connection. However for local connection it must be "service_mgr". Possible solution: to check if parameter $host is empty to use the pattern for local connection.