# php5 win build

- Thread: https://externals.io/message/15680
- Original archive: https://news-web.php.net/php.internals/15680
- Started by Arjun on 2005-03-30T06:55:07+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #15680 — Arjun — 2005-03-30T06:55:07+00:00

URL: https://externals.io/message/15680#15680

Hi,

I want to build php-5.0.3 on WinXP using Visual Studio.NET.  I have read 
the instructions at php.net as well as in README.WIN32-BUILD-SYSTEM file.

Initially got an error regarding some function in nsap_addr.c at #if 
!defined(isxdigit) /* XXX */ which (after googling) I changed to:   #if 
!defined(isxdigit) && !defined(_CTYPE_DEFINED).

Then I guess that was fixed. Next, I got errors regarding 
libxml/parser.h and iconv.h. I then downloaded the respective files and 
placed the headers in their respective expected places.

Next I could compile a few parts but not the solution including the 
php5ts.lib and the dlls (which i need). Please find the html file 
generated by visual studio attached.

Any help will be appreciated.

Regards
aj

Arjun Jain
http://arjun.notlong.com

---

## #15689 — Jon Parise — 2005-03-30T17:04:46+00:00

URL: https://externals.io/message/15680#15689 · In reply to: #15680

> I want to build php-5.0.3 on WinXP using Visual Studio.NET.  I have read 
> the instructions at php.net as well as in README.WIN32-BUILD-SYSTEM file.
> 
> Initially got an error regarding some function in nsap_addr.c at #if 
> !defined(isxdigit) /* XXX */ which (after googling) I changed to:   #if 
> !defined(isxdigit) && !defined(_CTYPE_DEFINED).

That's correct fix, and the CVS version of bindlib_w32 has been
patched[1] for almost two years.  I assume that you downloaded the
archive[2] instead of using CVS.  Someone should probably update
that[3].  I'll take care of it later today if no one beats me to it.

[1] http://cvs.php.net/diff.php/bindlib_w32/nsap_addr.c?r1=1.1&r2=1.2&ty=h
[2] http://www.php.net/extra/bindlib_w32.zip
[3] http://cvs.php.net/co.php/phpweb/extra/bindlib_w32.zip

-- 
Jon Parise (jon of php.net) :: The PHP Project (http://www.php.net/)

---

## #15693 — Jon Parise — 2005-03-30T18:40:56+00:00

URL: https://externals.io/message/15680#15693 · In reply to: #15689

> > […]
> 
> That's correct fix, and the CVS version of bindlib_w32 has been
> patched[1] for almost two years.  I assume that you downloaded the
> archive[2] instead of using CVS.  Someone should probably update
> that[3].  I'll take care of it later today if no one beats me to it.
> 
> [1] http://cvs.php.net/diff.php/bindlib_w32/nsap_addr.c?r1=1.1&r2=1.2&ty=h
> [2] http://www.php.net/extra/bindlib_w32.zip
> [3] http://cvs.php.net/co.php/phpweb/extra/bindlib_w32.zip
 
I've updated the bindlib_w32.zip distribution archive (in phpweb/extra/).
The mirrors should pick it up on their next sync.

-- 
Jon Parise (jon of php.net) :: The PHP Project (http://www.php.net/)
