IIS PHP Problem

09/16/2015 20:37 Exo.#1
Hallo,

Ich habe folgendes Problem:
Ich habe auf meinem PC (Windows 7) eine Homepage mit mssql funktion gebaut, funktioniert wunderbar.
Nun wollte ich sie auf meinen Vserver kopieren und dort laufen lassen.
Dennoch verbindet sich diese nicht mit der Datenbank.
Welche Gründe könnte es haben?

Infos:
Windows server 2008
MSSQL 2008 R2
IIS
PHP 5.2.8

MfG Exo
09/16/2015 20:49 beetols#2
can be many things..

please explain more in detail the error that you get, if possible in english :)
09/16/2015 21:05 Exo.#3
[16-Sep-2015 20:59:00] PHP Warning: mssql_connect() [<a href='function.mssql-connect'>function.mssql-connect</a>]: Unable to connect to server: 127.0.0.1 in C:\inetpub\wwwroot\functions\mssql.php on line 20
I get that error..not more^^
09/17/2015 03:25 Big_#4
for iis u need to install php install php then it will work
09/17/2015 08:47 Exo.#5
I Use IIS with PHP 5.2.3 atm but dont work ^^
09/17/2015 08:52 AndyDe#6
Ja schreib mal stats 127. 0.0.1 "localhost" rein und dB Name usw stimmt?
09/17/2015 08:58 Exo.#7
Alles schon probiert.. Ich weiß einfach nicht weiter..^^

Nun habe ich den SQL Server und den Webserver neu installiert.
Für PHP 5.3 die treiber installiert von mssql, nun habe ich keinen fehler mehr sondern nurnoch eine leere seite.
09/17/2015 12:00 nephren#8
Hallo,

die MSSQL Extenstion wird ab PHP 5.3 nicht länger mit Microsoft-Produkten wie SQL unterstützt.

Mehr dazu hier: [Only registered and activated users can see links. Click Here To Register...]
09/17/2015 13:00 Exo.#9
aber dann müsste doch PHP 5.2 mit mssql treiber laufen oder nicht? ö.ö
09/17/2015 15:02 nephren#10
Ausprobiert hab ich es nicht, allerdings sollte es kein Problem werden
09/18/2015 12:16 Exo.#11
Vielen Dank.
Problem gelöst :)