Re: [Fwd: Problems configuring php with freetds]
Daniel Fazekas <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
On Jun 4, 2008, at 21:58, [email protected] wrote: > Warning: mssql_connect() [function.mssql-connect]: Unable to open > socket (severity 9) in /home/sohmc/www/mssql_functions.php on line 4 > Any thoughts? Maybe you got a RHEL, Fedora, CentOS or similar system with SELinux? If so, you'll have to allow remote database connections. Try first (more restrictive): setsebool -P httpd_can_network_connect_db 1 If that didn't help, do: setsebool -P httpd_can_network_connect 1