chobie / php-uv

libuv php extension
185 stars 21 forks source link

Compiling on Win32 #25

Closed schmod closed 12 years ago

schmod commented 12 years ago

What are the instructions for compiling on win32? Unless I'm mistaken, phpize is not available on that platform.

chobie commented 12 years ago

sorry for late response. you can build php-uv like this. also, you need to adjust php-sdk versions and PHP's configure options (thread safe, debug mode etc...)

# open Windows SDK *** Command Prompt
cd path\to\php-sdk
bin\phpsdk_setvars.bat
cd path\to\php-uv
# you need to build libuv at first (just type vcbuild.bat)
phpize
configure --enable-uv
nmake

but. currently it can't build on windows as there are some compile errors :sweat: I'll fix this problem in this week.

chobie commented 12 years ago

fixed in a62a234d497ff3fbfa2ef137a225ee30aae6eda8. you also need to specify --enable-sockets flag when building php.