logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in  RSS Apache Lounge  


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.



Post new topic   Forum Index -> Coding & Scripting Corner View previous topic :: View next topic
Reply to topic   Topic: Accessing Microsoft SQL Database - Best Method?
Author
wfdiadmin



Joined: 10 Jun 2016
Posts: 5
Location: USA,Rochester

PostPosted: Mon 13 Jun '16 20:24    Post subject: Accessing Microsoft SQL Database - Best Method? Reply with quote

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: 6684
Location: Germany, Next to Hamburg

PostPosted: Thu 16 Jun '16 18:48    Post subject: Reply with quote

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


Reply to topic   Topic: Accessing Microsoft SQL Database - Best Method? View previous topic :: View next topic
Post new topic   Forum Index -> Coding & Scripting Corner