简体   繁体   中英

Connect via PHP to SQL Server 2012

My problem has a couple things:

  • I got a website constructed in joomla, hosted on linux server (that means that sqlsrv doesn't work because it's made for windows only, and the host administrator already informed me that they can't install any php extension).
  • I got a C# program, and my database is hosted on Amazon (SQL Server 2012).

To resume, i need to connect my website to my SQL database program to show data, and modify it, etc etc, on web.

So, if you guys have any ideia how can i make it, i really appreciate that.

Best regards, Hélder Lopes

I recommend to install the php module :
source : http://technet.microsoft.com/en-us/library/cc793139(v=sql.90).aspx
source : http://www.php.net/manual/en/book.mssql.php

If there is no way, move your database to your website's hosting (converting db to mysql), and make your C# program use mysql and point it to the website database.
good luck.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM