Compiling PHP under Windows
| From: | Per Lundberg | Date: | Fri, 10 Jan 2003 11:32:46 +0000 |
| Subject: | Compiling PHP under Windows | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-17745@lists.php.net to get a copy of this message | ||
Hey Windows PHP people,
I am trying to compile PHP 4.2.3 under Windows with Visual C++ 6.0. However, I am not being very successful. Do I need any special libraries/etc to get this working? (I am trying to build the php4dllts project in the win32 directory, for use as an embedded library in another application)
I realized that inet/arpa.h et al did not exist so I replaced them for winsock.h. Still, I am getting strange problems that FD_SETSIZE (a #define in winsock.h) has not been defined, even though winsock.h has been properly included. This is when trying to compile ext/ftp/ftp.c. Does anyone recognize this, and does anyone have a proper fix?
--
Best regards,
Per Lundberg / Capio ApS
Phone: +46-18-4186040
Fax: +46-18-4186049
Web: http://www.capio.com