php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68864 Build error - zlib not found
Submitted: 2015-01-20 16:57 UTC Modified: 2015-01-21 13:14 UTC
From: lukemauldin at gmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.6.4 OS: Windows 2008 R2 SP1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lukemauldin at gmail dot com
New email:
PHP Version: OS:

 

 [2015-01-20 16:57 UTC] lukemauldin at gmail dot com
Description:
------------
Followed instructions at: https://wiki.php.net/internals/windows/stepbystepbuild

Installed Visual Studio 2012 Express edition for x86 build.  During nmake step got error: ext\mysqlnd\mysqlnd_net.c(33) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory

I installed the deps as instructed on the website.  The file C:\php-sdk\phpdev\vc11\x86\deps\include\zlib.h exists

 

Expected result:
----------------
Compile failed

Actual result:
--------------
Compile succeed

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-01-21 07:37 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2015-01-21 07:37 UTC] ab@php.net
Did you --enable-zlib?

Thanks.
 [2015-01-21 13:14 UTC] lukemauldin at gmail dot com
-Status: Feedback +Status: Closed
 [2015-01-21 13:14 UTC] lukemauldin at gmail dot com
Did not follow instructions correctly.  Unpacked PHP into C:\php-sdk\phpdev\vc11\x86 instead of C:\php-sdk\phpdev\vc11\x86\php-5.6.4
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 08 23:01:32 2025 UTC