note 95850 added to mssql.installation
| From: | Dave at osu1 dot php dot net | Date: | Mon, 25 Jan 2010 21:25:25 +0000 |
| Subject: | note 95850 added to mssql.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165295@lists.php.net to get a copy of this message | ||
Linux users: I had to set the TDSDUMP and TDSCONFDUMP environment variables in my apache init script
in order for freetds/mssql connections to work:
In my /etc/init.d/httpd file:
export FREETDSCONF=/usr/local/freetds/etc/freetds.conf
export SYBASE=/usr/local/freetds
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$SYBASE/lib
export TDSDUMP=/var/log/freetds/tdsdump-apache_log
export TDSDUMPCONF=/var/log/freetds/tdsdumpconf-apache_log
Make sure apache can write to the TDSDUMP directory.
(Using FreeTDS 0.82, PHP 5.2.9)
----
Server IP: 69.147.83.197
Probable Submitter: 75.71.142.208
----
Manual Page -- http://www.php.net/manual/en/mssql.installation.php
Edit -- https://master.php.net/note/edit/95850
Del: integrated -- https://master.php.net/note/delete/95850/integrated
Del: useless -- https://master.php.net/note/delete/95850/useless
Del: bad code -- https://master.php.net/note/delete/95850/bad+code
Del: spam -- https://master.php.net/note/delete/95850/spam
Del: non-english -- https://master.php.net/note/delete/95850/non-english
Del: in docs -- https://master.php.net/note/delete/95850/in+docs
Del: other reasons-- https://master.php.net/note/delete/95850
Reject -- https://master.php.net/note/reject/95850
Search -- https://master.php.net/manage/user-notes.php