Edit report at https://bugs.php.net/bug.php?id=55779&edit=1
ID: 55779
User updated by: hessemanj2100 at gmail dot com
Reported by: hessemanj2100 at gmail dot com
Summary: VS2008 Professional won't compile PHP but VC++ 2008
Express will
-Status: Closed
+Status: Assigned
Type: Bug
Package: Compile Failure
Operating System: Windows 7 64-bit
PHP Version: 5.3.8
Assigned To: pajoye
Block user comment: N
Private report: N
New Comment:
I am reopening the bug report because the problem was apparently not fixed.
After building PHP with "configure --disable-zts --enable-one-shot" and then
rebuilding PHP with "configure --disable-zts --enable-snapshot-build" without
issuing the command "buildconf", PHP compiled successfully. But on the
phpinfo()
page it shows the configure command as the original "configure --disable-zts --
enable-one-shot." It's weird but that is the only way I was able to compile
PHP.
Disabling the static analyzer by issuing the flag --disable-static-analyze
(without the r at the end) did allow me to compile PHP without having the
recompile it. I shouldn't need to issue the --disable-static-analyze flag to
compile PHP. It should compile without it, but that is a mystery still to be
solved. I hope someone who has experienced this problem before can help me
solve
it. Thanks for any help.
Previous Comments:
------------------------------------------------------------------------
[2011-09-25 17:56:16] [email protected]
g:\php-sdk\php54\vc9\x86\php54>configure --help | find "analy"
--enable-static-analyze Enable the VC compiler static analyze
g:\php-sdk\php53\vc9\x86\php53>configure --help | find "analy"
--enable-static-analyze Enable the VC compiler static analyze
------------------------------------------------------------------------
[2011-09-25 17:51:59] hessemanj2100 at gmail dot com
Problem solved by putting the --disable-zts flag first in the configure command.
------------------------------------------------------------------------
[2011-09-25 17:47:54] hessemanj2100 at gmail dot com
VS2008 is picky. The compile finally worked after putting --disable-zts as the
first flag. I can confirm that VS2008 was the problem and not PHP. Make sure
this
is documented. Thanks! :-)
Use: configure --disable-zts --enable-snapshot-build
instead of
configure --enable-snapshot-build --disable-zts
------------------------------------------------------------------------
[2011-09-25 17:31:27] hessemanj2100 at gmail dot com
How do I find the problem you reported? I searched all over Google and PHP.net
for
an answer and failed miserably. By the way, this command worked: configure --
enable-one-shot --disable-zts
------------------------------------------------------------------------
[2011-09-25 17:18:35] [email protected]
Please try using the additional option I gave you in my previous comment.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=55779
--
Edit this bug report at https://bugs.php.net/bug.php?id=55779&edit=1