Re: PHP C++ extension on Windows

From: Date: Fri, 09 May 2014 11:46:18 +0000
Subject: Re: PHP C++ extension on Windows
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to internals+get-74091@lists.php.net to get a copy of this message
Thanks for your help.


On 9 May 2014, at 12:41, Pierre Joye <pierre.php@gmail.com> wrote:

> On Fri, May 9, 2014 at 12:06 PM, O'Neil Delpratt <oneil@saxonica.com> wrote:
>> 
>> On 9 May 2014, at 10:26, Pierre Joye <pierre.php@gmail.com> wrote:
>> 
>>> hi,
>>> 
>>> On Fri, May 9, 2014 at 11:20 AM, O'Neil Delpratt <oneil@saxonica.com> wrote:
>>>> Hi,
>>>> 
>>>> Is there a better way to build a PHP C++ extension for PHP 5.5 than in Visual
>>>> studio? I know it can be done in the PHP build process for windows as described in the book
>>>> “Extending and Embedding PHP” by Sara Golemon which I did try but failed with linking errors,
>>>> maybe because of the config.w32 file not being setup properly. Under linux I have no issues.
>>> 
>>> Actually the better and recommended way is not to use VS but for debugging.
>>> 
>>> See https://wiki.php.net/internals/windows/stepbystepbuild
>> 
>> 
>> How about building your own extension? There seems to be a lack of information about doing
>> that on windows
> 
> same, copy it to the ../pecl/ directory, run buildconf etc.
> 
> You can use phpize too if your exts do not have dependencies against
> other extension.
> 
> The process is also described in the wiki
> 
> Cheers,
> -- 
> Pierre
> 
> @pierrejoye | http://www.libgd.org

-------------------------------
O'Neil Delpratt
Software Developer, Saxonica Limited Email: oneil@saxonica.com
Tel: +44 118 946 5894
Web: http://www.saxonica.com
Saxonica Community site: http://dev.saxonica.com
Bug tracking site: https://saxonica.plan.io/





Thread (24 messages)

« previous php.internals (#74091) next »