FirebirdSQL / php-firebird

Firebird PHP driver
https://firebirdsql.org/en/php-driver/
Other
66 stars 17 forks source link

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

Open avp-novgorod opened 1 year ago

avp-novgorod commented 1 year 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.