Re: PHP C++ extension on Windows
| From: | O'Neil Delpratt | Date: | Fri, 09 May 2014 10:06:22 +0000 |
| Subject: | Re: PHP C++ extension on Windows | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74088@lists.php.net to get a copy of this message | ||
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
>
> --
> 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/