note 101375 added to mssql.setup
| From: | robyn at dcphp dot com | Date: | Mon, 13 Dec 2010 15:31:14 +0000 |
| Subject: | note 101375 added to mssql.setup | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-174843@lists.php.net to get a copy of this message | ||
http://www.apachefriends.org/en/xampp-macosx.html
This links to xampp works great on macs. I have put it only for PPC machines, but it claims to work
properly on Intel as well.
I also had success installing FreeTDS and PHP from source on an Intel Macbook, running Mac OS 10.6
(Snow Leopard). My steps were the following:
PREPARE SOURCE CODE
step 1: download latest php version
step 2: un-tar the php source code
step 3: download latest freetds version
step 4: un-tar the freetds source code
INSTALL THE FREETDS
step 5: make sure there is a writable directory at /usr/local/freetds
step 6: "cd" to the freetds source directory
step 7: run "sudo ./configure --prefix=/usr/local/freetds --enable-msdblib"
step 8: run "sudo make"
step 9: run "sudo make install"
step 10: run "touch /usr/local/freetds/include/tds.h" (add blank, but necessary files)
step 11: run "touch /usr/local/freetds/lib/libtds.a" (add blank, but necessary files)
INSTALL THE PHP
step 11: "cd" to the php source directory
step 12: run "sudo ./configure --disable-all --with-mssql=/usr/local/freetds"
step 13: run "sudo make"
step 14: run "sudo make install"
Of course, since I was disabling-all (step 12) that means that you have to explicitly add back those
modules you want to configure php with.
----
Server IP: 192.41.42.26
Probable Submitter: 64.206.66.9
----
Manual Page -- http://www.php.net/manual/en/mssql.setup.php
Edit -- https://master.php.net/note/edit/101375
Del: integrated -- https://master.php.net/note/delete/101375/integrated
Del: useless -- https://master.php.net/note/delete/101375/useless
Del: bad code -- https://master.php.net/note/delete/101375/bad+code
Del: spam -- https://master.php.net/note/delete/101375/spam
Del: non-english -- https://master.php.net/note/delete/101375/non-english
Del: in docs -- https://master.php.net/note/delete/101375/in+docs
Del: other reasons-- https://master.php.net/note/delete/101375
Reject -- https://master.php.net/note/reject/101375
Search -- https://master.php.net/manage/user-notes.php