PHP 5.5/Win32 "application is not a win32 executable" error
| From: | Andrey Repin | Date: | Fri, 18 Jul 2014 02:58:39 +0000 |
| Subject: | PHP 5.5/Win32 "application is not a win32 executable" error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-323618@lists.php.net to get a copy of this message | ||
Greetings, All.
I've just downloaded an upgrade for my existing, but long time unused, PHP 5.3
suite on Windows XP, but it just doesn't start, stating something along the
lines of "it's not a win32 executable". While it clearly is...
[C:\...\php-5.5.14-Win32-VC11-x86]$ file ./php.exe
./php.exe: PE32 executable (console) Intel 80386, for MS Windows
[C:\...\php-5.5.14-Win32-VC11-x86]$ cygcheck ./php.exe
C:\...\php-5.5.14-Win32-VC11-x86\php.exe
C:\...\php-5.5.14-Win32-VC11-x86\php5ts.dll
C:\WINDOWS\system32\ADVAPI32.dll
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\RPCRT4.dll
C:\WINDOWS\system32\Secur32.dll
C:\WINDOWS\system32\WS2_32.dll
C:\WINDOWS\system32\msvcrt.dll
C:\WINDOWS\system32\WS2HELP.dll
C:\WINDOWS\system32\ODBC32.dll
C:\WINDOWS\system32\COMCTL32.dll
C:\WINDOWS\system32\GDI32.dll
C:\WINDOWS\system32\USER32.dll
C:\WINDOWS\system32\comdlg32.dll
C:\WINDOWS\system32\SHELL32.dll
C:\WINDOWS\system32\SHLWAPI.dll
C:\WINDOWS\system32\ole32.dll
C:\WINDOWS\system32\DNSAPI.dll
C:\WINDOWS\system32\MSVCR110.dll
[C:\...\php-5.5.14-Win32-VC11-x86]$ php.exe -i
4NT: (Sys) C:\...\php-5.5.14-Win32-VC11-x86\php.exe не является приложением
Win32.
"C:\...\php-5.5.14-Win32-VC11-x86\php.exe"
(And yes, as you can see, the MSVC11 runtime is installed.)
So, the question is... what I'm doing wrong?
--
Sincerely Yours, Andrey Repin <anrdaemon@freemail.ru>