Bug #67157 [Opn->Nab]: x64 win php 5.5.11 is really x86
| From: | pajoye@php.net | Date: | Wed, 30 Apr 2014 12:18:46 +0000 |
| Subject: | Bug #67157 [Opn->Nab]: x64 win php 5.5.11 is really x86 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-185519@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67157&edit=1
ID: 67157
Updated by: pajoye@php.net
Reported by: jmichae3 at yahoo dot com
Summary: x64 win php 5.5.11 is really x86
-Status: Open
+Status: Not a bug
Type: Bug
Package: *General Issues
Operating System: win7ult64sp1
PHP Version: 5.5.11
Block user comment: N
Private report: N
New Comment:
php-5.5.11-Win32-VC11-x86.zip
the x86 part means it is x86 not x64.
Use the x64 builds available here too:
http://windows.php.net/download/
Previous Comments:
------------------------------------------------------------------------
[2014-04-30 11:56:09] jmichae3 at yahoo dot com
Description:
------------
php.exe for windows, php-5.5.11-Win32-VC11-x86.zip is actually fails with a 64-bit redst only. I had
to learn with VC++ that the compiler targets ar eunder different dirs. i will give you a clue that
arm is not a platform for for compilers.
see http://jesusnjim.com/programming/compilers/ms-vs.html#which-cl
Test script:
---------------
I extracted php-5.5.11-Win32-VC11-x86.zip
I think I had maybe both redists installed and everything was working fine. I must have, because
this was working before. I uninstalled them both and reinstalled the redist for VS2012u4x64 ONLY.
ran php
Expected result:
----------------
64-bit exe that's actually 64-bit.
the different dirs under the VC bin directory are the different target compilers. the left side of _
is the host, the right side is the target.
like x86_amd64 is an x86 hosted compiler (compiler made for x86) but generates code for amd64. and
/Qpar /volatile:ms parallelizes your loops where possible (makes them run 4-8x faster).
Actual result:
--------------
I got an 'msvcr110.dll is missing' error.
i installed the x86 redist.
then php would run.
this tells me you used the 32-bit-target compiler when you wanted to target amd64. OR, the redists
got swapped at microsoft (it's possible, an msdn guy has the same problem)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67157&edit=1