Closed GoogleCodeExporter closed 9 years ago
Regarding problem with loading %windir%/system32/sqlsrv32.dll - this has
probably nothing to do with %windir% env variable not being exposed. In this
post Dallin explains he got SQL Server working fine with PHP Desktop after
downloading a correct version of DLL, see:
https://groups.google.com/d/msg/phpdesktop/GNOcA93gN1k/1y2_WI4iYLQJ
Original comment by czarek.t...@gmail.com
on 21 Oct 2014 at 9:30
when you place the file under www/%windir%/system32/ the file is found but
couldnt load because it only laods in C:/windows/system32 folder
Original comment by benschh...@gmail.com
on 21 Oct 2014 at 9:38
@#2 benschhold: To confirm that the missing WINDIR envrionment variable is
causing the issue, try setting that env var using command line flag and see if
that solves the problem. See:
https://code.google.com/p/phpdesktop/wiki/CGIEnvironmentFromArgs .
Original comment by czarek.t...@gmail.com
on 21 Oct 2014 at 9:50
i am not shure if i did what you said but i did set verbindung=%windir% and the
result was:
[VERBINDUNG_] => C:\Windows
so windir should be working right?
Original comment by benschh...@gmail.com
on 21 Oct 2014 at 10:21
Original comment by czarek.t...@gmail.com
on 21 Oct 2014 at 10:29
%ComSpec% and %SystemRoot% should be in camel case, and %windir% should be in
lowercase, according to https://en.wikipedia.org/wiki/Environment_variable .
See also:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd378457(v=vs.85).aspx .
Fixed in revision d2b1fb29f7da. phpdesktop chrome 31.8 / msie 1.14 executables
were updated on dropbox. Lots of new environment variables have been exposed:
[APPDATA] => C:\Users\ctomczak\AppData\Roaming
[LOCALAPPDATA] => C:\Users\ctomczak\AppData\Local
[ComSpec] => C:\Windows\system32\cmd.exe
[OS] => Windows_NT
[ProgramFiles] => C:\Program Files (x86)
[ProgramFiles(x86)] => C:\Program Files (x86)
[ProgramW6432] => C:\Program Files
[CommonProgramFiles] => C:\Program Files (x86)\Common Files
[CommonProgramFiles(x86)] => C:\Program Files (x86)\Common Files
[CommonProgramW6432] => C:\Program Files\Common Files
[SystemDrive] => C:
[SystemRoot] => C:\Windows
[windir] => C:\Windows
[ALLUSERSPROFILE] => C:\ProgramData
[ProgramData] => C:\ProgramData
[PUBLIC] => C:\Users\Public
[USERDOMAIN] => ctomczak-PC
[USERPROFILE] => C:\Users\ctomczak
[HOMEPATH] => \Users\ctomczak
[HOMEDRIVE] => C:
[COMPUTERNAME] => CTOMCZAK-PC
[LOGONSERVER] => \\CTOMCZAK-PC
[PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
[PSModulePath] => C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
[USERNAME] => ctomczak
Original comment by czarek.t...@gmail.com
on 30 Oct 2014 at 9:47
Original issue reported on code.google.com by
czarek.t...@gmail.com
on 21 Oct 2014 at 9:18