1
My problem has some variants:
- I have a website built on joomla, which is hosted on a linux server.
- The administrator where I have hosted my website has already informed me that it will not install any php extension, so as not to get conflicts or problems on the server
- The php module does not contain any connection extension to Sql server (e. g, sqlsrv, mssql)
- I have a program in c#, and my database is stored on Amazon (SQL Server 2012)
To summarize, I need my site to be able to connect to my Sql Server 2012 database of my program to show on the website the information I have there, and can also add new information, change it etc.
If anyone knows how to make that same connection, taking into account the variables to which I am subject, I would appreciate it very much.
You can always have PHP also hosted on Amazon, and from there you connect to BD. Then it’s just link your PHP website with the Amazon.
– Jorge B.
I would change the server, where I’ve seen not install PHP extensions, this is deprivation of a service, change server urgently
– user6026
Have you tried with adodb ?
– rray
Harry Potter but does the PHP there have the modules needed to connect to SQL Server? It’s just that if they don’t get back to the same situation I’m in now. Jorge B, could you explain your idea a little better? I didn’t quite understand how to do what you said.
– Hélder
Lost, thanks for the comment. What you suggested to me is necessary a correct adobd installation? It is that I am not able to install something, due to the restrictions that I have of the administrator of the accommodation.
– Hélder
@Hélder, so says the documentation just unzip the files in the project folder that already works. I don’t have sql server here to test. example
– rray
Is it possible to create a webservice? In this way, you, from your website, rescue the data from the Sqlserver database on the Amazon server by this service.
– LeoFelipe
Do you have the opportunity to switch to a windows hosting at the same amount? If yes you can try the solution used at this link
– jefersondaniel
@jefersondaniel the solution presented in this link only works in windows is?
– Hélder
@Leofilipe advises me to use SOAP? Do you know any webservice for such purpose that I intend already done?
– Hélder
@lost I will test the solution indicated by you. I will then give feedback if it works.
– Hélder
@lost doesn’t work but thanks anyway. In order to unzip, I noticed that to connect to bd sql server it uses the mssql extension, which is not included in PHP.
– Hélder