PHP und MSSQL brauche Hilfe

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

PHP und MSSQL brauche Hilfe

Postby Nevada » 07. April 2015 21:23

Hallo Zusammen,

ich habe Ende letzten Jahres mit dem gleichen Problem unter anderen Voraussetzungen gekämpft und konnte es lösen.

Jetzt habe ich einen neuen Server aufgesetzt da der alte Server nach einem Stromschlag kapituliert hat.

Alter Beitrag: https://community.apachefriends.org/viewtopic.php?f=4&t=70009

Folgende neue Vorraussetzungen:

Betriebssystem: Windows Server 2008 R2
SQL Server 2008 R2 Express
Xampp: xampp-win32-5.6.3-0-VC11

In das Verzeichnis E:\xampp\php\ext\ habe ich folgende SQLSRV-Extension abgelegt:

php_sqlsrv_56_ts.dll
php_pdo_sqlsrv_56_ts.dll

und so in die php.ini eingebunden:

extension=php_sqlsrv_56_ts.dll
extension=php_pdo_sqlsrv_56_ts.dll

Die Datei msvci70.dll habe ich in das Verzeichnis windows\system32 kopiert

und so sieht es in der php_error_log aus:

[07-Apr-2015 19:58:12 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'E:\xampp\php\ext\php_sqlsrv_56_ts.dll' - The specified module could not be found.
in Unknown on line 0
[07-Apr-2015 19:58:12 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'E:\xampp\php\ext\php_pdo_sqlsrv_56_ts.dll' - The specified module could not be found.
in Unknown on line 0
[07-Apr-2015 19:58:14 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'E:\xampp\php\ext\php_sqlsrv_56_ts.dll' - The specified module could not be found.
in Unknown on line 0
[07-Apr-2015 19:58:14 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'E:\xampp\php\ext\php_pdo_sqlsrv_56_ts.dll' - The specified module could not be found.
in Unknown on line 0

Was mache ich falsch? Brauche dringend Hilfe!

Gruß
René
Nevada
 
Posts: 8
Joined: 22. December 2014 18:18
Operating System: Windows Home Server 2011

Re: PHP und MSSQL brauche Hilfe

Postby Nobbie » 08. April 2015 10:42

Nevada wrote:Die Datei msvci70.dll habe ich in das Verzeichnis windows\system32 kopiert


Beim letzten Mal war es die Datei MSVCR71.dll
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Re: PHP und MSSQL brauche Hilfe

Postby Nevada » 08. April 2015 12:01

hab ich gerade auch schon probiert.... ohne Ergebnis
Nevada
 
Posts: 8
Joined: 22. December 2014 18:18
Operating System: Windows Home Server 2011

Re: PHP und MSSQL brauche Hilfe

Postby Nobbie » 08. April 2015 12:36

Die Ursache wird dennoch irgend so eine fehlende DLL sein, aber weiß ich auch nicht, welche es ist (oder ob es mehrere sind). Konntest Du nicht ggf. die Festplatte aus dem alten Rechner sichern und die komplette Software übernehmen?
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Re: PHP und MSSQL brauche Hilfe

Postby Nevada » 08. April 2015 14:17

nichts mehr da, das System ist komplett zerstört. Ich konnte bloß die Datenplatten retten.
Nevada
 
Posts: 8
Joined: 22. December 2014 18:18
Operating System: Windows Home Server 2011

Re: PHP und MSSQL brauche Hilfe

Postby Nobbie » 08. April 2015 15:57

Nevada wrote:Ich konnte bloß die Datenplatten retten.


Genau die meinte ich doch?!
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Re: PHP und MSSQL brauche Hilfe

Postby Nevada » 08. April 2015 17:29

Die DLL Dateien waren auf der Systemplatte unter windows/system32. Die Dateien auf den Datenplatten haben mir nicht geholfen da ich ja jetzt
ein anderes Betriebssystem habe und eine andere PHP Version.
Nevada
 
Posts: 8
Joined: 22. December 2014 18:18
Operating System: Windows Home Server 2011

Re: PHP und MSSQL brauche Hilfe

Postby Nobbie » 08. April 2015 19:17

Dann musst Du leider weitersuchen, ich habe keine entsprechende Installation und kann auch sonst nichts dazu raten. Xampp ist ganz sicher nicht die ideale Plattform, um MSSQL Anwendungen zu entwickeln und zu testen.
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Re: PHP und MSSQL brauche Hilfe

Postby cmb69 » 09. April 2015 02:34

Ich schieß mal munter ins Blaue: kann es sein, dass Du die Treiber von Microsoft hast? Die geben nämlich an, dass mindestens PHP 5.6.4 benötigt wird; XAMPP 5.6.3 liefert aber eben PHP 5.6.3 aus. Falls das so ist, dann müsstest Du entweder das PHP in XAMPP updaten, oder eben auf XAMPP 1.8.3 ausweichen, dass PHP 5.5.15 enthält. Ersteres ist im Zweifel sinnvoller.
User avatar
cmb69
 
Posts: 24
Joined: 18. October 2012 03:09
Location: Germany
XAMPP version: various
Operating System: Windows 10

Re: PHP und MSSQL brauche Hilfe

Postby Ben_ » 20. April 2015 14:25

I'm running into the same issues as described here.
After reading the previous answer I've reinstalled XAMPP (with PHP 5.5.19 instead of 5.6.3), but still no luck. Any suggestions how to get the packge to work correctly?

Answer is in English (I'm Dutch, can read German pretty well but writing is something else ;))
Ben_
 
Posts: 2
Joined: 20. April 2015 14:23
Operating System: Windows 2012R2

Re: PHP und MSSQL brauche Hilfe

Postby Ben_ » 21. April 2015 13:33

I've figured my problem out. I was using the wrong library (nts instead of ts). Maybe my post and answer on Stack Overflow are helpful to you: http://stackoverflow.com/questions/29743141/windows-server-2012-r2-xampp-sqlsrv-unsuccesful-so-far
Ben_
 
Posts: 2
Joined: 20. April 2015 14:23
Operating System: Windows 2012R2


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 29 guests