Re: compile php extension on visual c++ 2005

From: Date: Wed, 12 Dec 2012 11:28:05 +0000
Subject: Re: compile php extension on visual c++ 2005
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-64268@lists.php.net to get a copy of this message
hi, On Wed, Dec 12, 2012 at 12:18 PM, Amir <admin@ecdcconference.org> wrote: > Im compiling my c++ php extension on php 5.3 and visual c++ 2008 > everything is ok and work fine, but I have to (and I force) to using php > 5.2.9 and compile it via vc++ 2005. > > I got this error during compile: > *zend\zend_config.w32.h(38) : fatal error C1083: Cannot open include file: > 'winsock2.h': No such file or directory* > * > * > I changed my windows SDK include directory, set environment variables and.. > But have still error. > > I compiled with vc++ 2008 and get another error: > *microsoft visual studio 8\vc\include\sys\stat.inl(44) : error C2466: > cannot allocate an array of constant size 0* Sorry but we do not support anything under VC9 (2008). PHP 5.2, while being dead since years, never supported anything but VC6. Cheers, -- Pierre @pierrejoye

« previous php.internals (#64268) next »