Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Accessing Microsoft SQL Database - Best Method? |
|
Author |
|
wfdiadmin
Joined: 10 Jun 2016 Posts: 5 Location: USA,Rochester
|
Posted: Mon 13 Jun '16 20:24 Post subject: Accessing Microsoft SQL Database - Best Method? |
|
|
Hello All,
I have an application written in PHP script on an older Red Hat Server. We have purchased a new server and because of other requirements it is a windows server.
I have gotten apache, php 7, and pear installed on the computer.
I am trying to determine the best way to query a microsoft sql database. Original code used Pear/DB. Would this still work?
Any help would be greatly appreciated
Thanks
John |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 16 Jun '16 18:48 Post subject: |
|
|
the best way is to use php_mssql. Pretty easy.
the pear code might work with modifications. but is is better to use php_mssql. |
|
Back to top |
|
|
|
|
|
|