Skip to Content.
Sympa Menu

freetds - Re: [freetds] [Fwd: Problems configuring php with freetds]

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Daniel Fazekas <fdsubs AT t-online.hu>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] [Fwd: Problems configuring php with freetds]
  • Date: Wed, 4 Jun 2008 22:07:38 +0200

On Jun 4, 2008, at 21:58, me AT mikesoh.com 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





Archive powered by MHonArc 2.6.24.

Top of Page