https://saxonica.plan.io/https://saxonica.plan.io/favicon.ico2014-04-02T07:48:45ZSaxonica Developer CommunitySaxonC - Support #1960: PHP Windows builds required for the different compiler versionshttps://saxonica.plan.io/issues/1960?journal_id=30992014-04-02T07:48:45ZO'Neil Delprattoneil@saxonica.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul><p>We now have a build for PHP 5.5 on Windows. Currently testing.</p> SaxonC - Support #1960: PHP Windows builds required for the different compiler versionshttps://saxonica.plan.io/issues/1960?journal_id=31562014-05-09T11:49:49ZO'Neil Delprattoneil@saxonica.com
<ul></ul><p>Asked on PHP internals on the best way to build Saxon-C on windows:</p>
<p>recommended not to use VS but for debugging.</p>
<p>See <a href="https://wiki.php.net/internals/windows/stepbystepbuild" class="external">https://wiki.php.net/internals/windows/stepbystepbuild</a></p>
<p>copy it to the ../pecl/ directory, run buildconf etc.</p>
<p>You can use phpize too if your exts do not have dependencies against</p>
<p>other extension.</p>
<p>The process is also described in the wiki</p>
<p>Also:</p>
<p>I also try currently to port over this extension to windows:</p>
<p><a href="https://github.com/piersharding/php-sapnwrfc/issues/6" class="external">https://github.com/piersharding/php-sapnwrfc/issues/6</a></p>
<p>My progress is not bad...i think there are some incompabilities left between the versions.....but there are no error messages left at compile ...so its hard to figure out:-/</p>
<p>my resources:</p>
<p><a href="https://wiki.php.net/internals/windows/stepbystepbuild" class="external">https://wiki.php.net/internals/windows/stepbystepbuild</a></p>
<p><a href="http://www.php.net/manual/en/internals2.buildsys.configwin.php" class="external">http://www.php.net/manual/en/internals2.buildsys.configwin.php</a></p>
<p><a href="http://www.dreamincode.net/forums/topic/244215-introduction-to-creating-a-php-extension-for-windows/" class="external">http://www.dreamincode.net/forums/topic/244215-introduction-to-creating-a-php-extension-for-windows/</a></p>
<p>the bad things</p>
<ul>
<li>
<p>there is no real documentation about config.w32 (i've gone through pecl packages and ported my code from there</p>
<ul>
<li>at least i didnt found one...</li>
</ul>
</li>
<li>
<p>what are the parameters for functions like EXTENSION() CHECK_LIB() CHECK_HEADER_ADD_INCLUDE().....??</p>
<ul>
<li>i guess them currently with the usage in the different pecl packages....</li>
</ul>
</li>
<li>
<p>what kind of functions are available in config.w32?</p>
</li>
<li>
<p>the binarys-tools are from 2011...no vc11 folder is created. <a href="http://windows.php.net/downloads/php-sdk/" class="external">http://windows.php.net/downloads/php-sdk/</a></p>
</li>
<li>
<p>in the package i have some lib dependencies -> they must be in the deps/bin folder</p>
<ul>
<li>
<p>how can i change the source path? only with "--with-extra-libs" ?</p>
</li>
<li>
<p>there is the CHECK_LIB() function -> but why the lib is not taken from there, instead of the deps/bin folder?</p>
</li>
</ul>
</li>
</ul>