Discussion:
PHP 5.5/Win32 "application is not a win32 executable" error
Andrey Repin
2014-07-18 02:58:39 UTC
Permalink
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 <***@freemail.ru>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jigar Dhulla
2014-07-18 03:03:07 UTC
Permalink
Hi,

http://php.net/manual/en/migration55.incompatible.php

Xp support has been dropped.
Post by Andrey Repin
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?
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Andrey Repin
2014-07-18 03:42:10 UTC
Permalink
Greetings, Jigar Dhulla.
In reply to Your message dated Friday, July 18, 2014, 07:03:07,
Post by Jigar Dhulla
http://php.net/manual/en/migration55.incompatible.php
Xp support has been dropped.
That was a dick move...
Post by Jigar Dhulla
Post by Andrey Repin
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?
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Sincerely Yours, Andrey Repin <***@freemail.ru>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Lester Caine
2014-07-18 07:32:47 UTC
Permalink
Post by Andrey Repin
Post by Jigar Dhulla
http://php.net/manual/en/migration55.incompatible.php
Post by Jigar Dhulla
Xp support has been dropped.
That was a dick move...
Those of us who still have to support existing customers use PHP5.4 on
XP but other changes from 5.3 to 5.4 will also prevent legacy code from
working without the right set-up. This is just one reason I'm unable to
move to 5.5 as yet ...
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Aziz Saleh
2014-07-18 13:42:39 UTC
Permalink
Post by Andrey Repin
Greetings, Jigar Dhulla.
In reply to Your message dated Friday, July 18, 2014, 07:03:07,
Post by Jigar Dhulla
http://php.net/manual/en/migration55.incompatible.php
Xp support has been dropped.
That was a dick move...
Post by Jigar Dhulla
Post by Andrey Repin
Greetings, All.
I've just downloaded an upgrade for my existing, but long time unused,
PHP
Post by Jigar Dhulla
Post by Andrey Repin
5.3
suite on Windows XP, but it just doesn't start, stating something along
the
Post by Jigar Dhulla
Post by Andrey Repin
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?
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It is not. Windows itself has ended supporting Windows XP (You are
currently unprotected from new vulnerabilities), why do you expect the same
from Zend?
Christoph Becker
2014-07-18 15:02:12 UTC
Permalink
Post by Aziz Saleh
Post by Andrey Repin
Greetings, Jigar Dhulla.
In reply to Your message dated Friday, July 18, 2014, 07:03:07,
Post by Jigar Dhulla
Xp support has been dropped.
That was a dick move...
It is not. Windows itself has ended supporting Windows XP (You are
currently unprotected from new vulnerabilities), why do you expect the same
from Zend?
ACK.

Furthermore not supporting such old systems makes it easier to use
improved APIs, see
<http://programmers.stackexchange.com/questions/177732/why-was-support-for-windows-xp-dropped-in-php-5-5#177740>.

If you absolutely have to stick with XP, consider using PHP 5.4.30 (or
compiling PHP 5.5 on Cygwin).

@ those who did: please do not top-post.
--
Christoph M. Becker
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Lester Caine
2014-07-18 15:42:19 UTC
Permalink
Post by Aziz Saleh
It is not. Windows itself has ended supporting Windows XP (You are
currently unprotected from new vulnerabilities), why do you expect the same
from Zend?
Microsoft require a large sum of money to restore working systems,
something that may simply be not available to many sites. Blackmail used
to be a crime so I don't know when they legalised it? You are only
unprotected from the complaints M$ send. If you use the correct
supporting software, much of which is free, then there is not a problem
and ones machines are still protected. Certainly anybody still using IE
has a problem anyway :)
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sean Greenslade
2014-07-18 16:03:59 UTC
Permalink
Post by Lester Caine
Post by Aziz Saleh
It is not. Windows itself has ended supporting Windows XP (You are
currently unprotected from new vulnerabilities), why do you expect the same
from Zend?
Microsoft require a large sum of money to restore working systems,
something that may simply be not available to many sites.
Blackmail used to be a crime so I don't know when they legalised it?
Sorry, what? Exactly who is being blackmailed here?
Post by Lester Caine
You are only unprotected from the complaints M$ send. If you use the
correct supporting software, much of which is free, then there is not
a problem and ones machines are still protected.
This is patently false. As with all operating systems, Windows XP has
numerous bugs and vulnerabilities in its core code. Things like buffer
overflow vulns, weaknesses in authentication systems, etc. Things that
3rd party software cannot protect. Without constant attention and
patching, a system will be vulnerable to many, many exploits.

Thus, it is in the interests of both Microsoft and Windows software
vendors (like Zend) to discourage the use of systems that are no longer
secure to use, _especially_ in the case of internet-facing server
systems.

--Sean
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Aziz Saleh
2014-07-18 17:46:54 UTC
Permalink
Post by Sean Greenslade
Post by Lester Caine
Post by Aziz Saleh
It is not. Windows itself has ended supporting Windows XP (You are
currently unprotected from new vulnerabilities), why do you expect the
same
Post by Lester Caine
Post by Aziz Saleh
from Zend?
Microsoft require a large sum of money to restore working systems,
something that may simply be not available to many sites.
Blackmail used to be a crime so I don't know when they legalised it?
Sorry, what? Exactly who is being blackmailed here?
Post by Lester Caine
You are only unprotected from the complaints M$ send. If you use the
correct supporting software, much of which is free, then there is not
a problem and ones machines are still protected.
This is patently false. As with all operating systems, Windows XP has
numerous bugs and vulnerabilities in its core code. Things like buffer
overflow vulns, weaknesses in authentication systems, etc. Things that
3rd party software cannot protect. Without constant attention and
patching, a system will be vulnerable to many, many exploits.
Thus, it is in the interests of both Microsoft and Windows software
vendors (like Zend) to discourage the use of systems that are no longer
secure to use, _especially_ in the case of internet-facing server
systems.
--Sean
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Not that much offtopic, enjoy:

https://www.modern.ie/en-us/virtualization-tools#escape-from-xp
Christoph Becker
2014-07-19 00:32:14 UTC
Permalink
Post by Aziz Saleh
https://www.modern.ie/en-us/virtualization-tools#escape-from-xp
YMMD. :)
--
Christoph M. Becker
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Lester Caine
2014-07-18 19:34:09 UTC
Permalink
Post by Sean Greenslade
Post by Lester Caine
Microsoft require a large sum of money to restore working systems,
Post by Lester Caine
something that may simply be not available to many sites.
Blackmail used to be a crime so I don't know when they legalised it?
Sorry, what? Exactly who is being blackmailed here?
Everybody who wants to carry on using perfectly functional kit !!!!
We run all the CNC computers on XP because the parallel port is not
accessible from W7. These machines don't even have a network port
switched on so 'new vulnerabilities' are simply not relevant. I've just
wasted 3 hours trying to work out what is stopping a machine that has
been working happily from booting up, and it has decided that it has not
been activated. Can't reactivate because no network ... telephone
service seems to have been switched off! So yes I am being blackmailed
to buy new licences simply because M$ is not making enough money ...

Is it any wonder I'm so pigging pissed of at wastin so much time on this
crap :( The hardware will quite happily run Linux so perhaps now is the
time simply to ditch windows once and for all.
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Andrey Repin
2014-07-19 23:35:30 UTC
Permalink
Greetings, Lester Caine.
In reply to Your message dated Friday, July 18, 2014, 23:34:09,
Post by Lester Caine
Is it any wonder I'm so pigging pissed of at wastin so much time on this
crap :( The hardware will quite happily run Linux so perhaps now is the
time simply to ditch windows once and for all.
I wish I could do that. Unfortunately, our government actively enforce the use
of Windows software with zero usable alternatives...
--
Sincerely Yours, Andrey Repin <***@freemail.ru>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Andrey Repin
2014-07-18 20:25:30 UTC
Permalink
Greetings, Aziz Saleh.
In reply to Your message dated Friday, July 18, 2014, 17:42:39,
Post by Aziz Saleh
It is not. Windows itself has ended supporting Windows XP (You are
currently unprotected from new vulnerabilities), why do you expect the same
from Zend?
Flashing marketing statements do not work on me. I see this discussion pointless.
PHP disappointing me more and more. Site is barely functional, documentation
usability reduced to ashes in past few years, even more with CHM version of
documentation I've recently downloaded - it's illegible (white on gray? Who
was the id..genius, who changed the color scheme). And all the sugar candy
"features" implemented in recent PHP development, instead of highly demanded
and largely already present, but scattered actual features. (I.e. automatic
conversion of errors to exception and multilingual tools split between
iconv/multibyte (primarily) and dozens of other extensions, each with it's set
of traps and caveats to make writing functional multilingual application a
real pain.)
--
Sincerely Yours, Andrey Repin <***@freemail.ru>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Christoph Becker
2014-07-19 00:59:29 UTC
Permalink
Post by Andrey Repin
Greetings, Aziz Saleh.
In reply to Your message dated Friday, July 18, 2014, 17:42:39,
Post by Aziz Saleh
It is not. Windows itself has ended supporting Windows XP (You are
currently unprotected from new vulnerabilities), why do you expect the same
from Zend?
Flashing marketing statements do not work on me. I see this discussion pointless.
Well, actually *you* may be pointless. You demand latest PHP versions
to support Windows XP, but apparently you don't demand support for
Windows 3.1 or DOS 7.0. Why not? Isn't it worthwhile to also support
these systems? Where is the limit?
Post by Andrey Repin
PHP disappointing me more and more.
There are many other languages out there--just pick the one you like.
Post by Andrey Repin
Site is barely functional, documentation
usability reduced to ashes in past few years, even more with CHM version of
documentation I've recently downloaded - it's illegible (white on gray? Who
was the id..genius, who changed the color scheme).
There is <https://bugs.php.net/> to report such issues.
Post by Andrey Repin
And all the sugar candy
"features" implemented in recent PHP development, instead of highly demanded
and largely already present, but scattered actual features. (I.e. automatic
conversion of errors to exception and multilingual tools split between
iconv/multibyte (primarily) and dozens of other extensions, each with it's set
of traps and caveats to make writing functional multilingual application a
real pain.)
There is <https://bugs.php.net/> to report such issues, and maybe
php-internals is even better suited.

Simply complaining about general deficiencies on php-general doesn't
seem to be really helpful.
--
Christoph M. Becker
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Andrey Repin
2014-07-19 11:41:55 UTC
Permalink
Greetings, Christoph Becker.
In reply to Your message dated Saturday, July 19, 2014, 04:59:29,
Post by Christoph Becker
Post by Andrey Repin
Greetings, Aziz Saleh.
In reply to Your message dated Friday, July 18, 2014, 17:42:39,
Post by Aziz Saleh
It is not. Windows itself has ended supporting Windows XP (You are
currently unprotected from new vulnerabilities), why do you expect the same
from Zend?
Flashing marketing statements do not work on me. I see this discussion pointless.
Well, actually *you* may be pointless. You demand latest PHP versions
I don't "demand" anything.
--
Sincerely Yours, Andrey Repin <***@freemail.ru>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Loading...