Compiling a PHP extension for windows
NickName:Adam Ask DateTime:2012-12-04T19:57:14

Compiling a PHP extension for windows

I've previously managed to get XHP compiled in a Linux environment with the .so extension. I'm trying to compile it for use in a windows enviroment (.dll) and I've followed the following tutorial on php.net but after I buildconf, I fail to see the extension under configure --help (I downloaded the source at put the source folder in ext directory). Any help would be appreciated.

I'm using Visual studio 2008 and looking to compile extension for PHP 5.4.

Copyright Notice:Content Author:「Adam」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/13702366/compiling-a-php-extension-for-windows

More about “Compiling a PHP extension for windows” related questions

Compiling my own PHP extension on Windows with Visual Studio 2008

I wrote a PHP extension and it could be compiled and run under linux successfully. But on windows, I met some problems. I did the compiling on windows according to http://blog.slickedit.com/?p=128...

Show Detail

Compiling a PHP extension for windows

I've previously managed to get XHP compiled in a Linux environment with the .so extension. I'm trying to compile it for use in a windows enviroment (.dll) and I've followed the following tutorial o...

Show Detail

Compiling a php extension into a dll

I've been attempting for a last few days to make use of the operator overloading extension (pecl.php.net/package/operator), which has apparently been updated recently to be compatible with 5.3 and ...

Show Detail

Compiling PHP Extension with correct API Version on Windows

I have finally created a very simple "Hello World" style PHP Extension dll on windows, after immeasurable hassle. However, although I have successfully created a DLL, and put it in the extensions ...

Show Detail

PHP Modules - Compiling on Windows

We are moving our server to a new server, and going from PHP 4.x to PHP 5.3. We need to add something like 10 extensions (php_pdf.dll, php_zip.dll, etc). I've Googled around, and it looks like I ne...

Show Detail

Compiling PHP extension for windows

I am trying to compile PHP-7.0.11 and a sample extension on Windows 8.1 using Visual Studio 2015. I am following https://wiki.php.net/internals/windows/stepbystepbuild. I have followed every step but

Show Detail

Compiling PHP with MySQLi embedded on Windows 7

I am trying to determine whether or not it is possible to use a MySQL embedded in PHP in a windows 7 enviroment. The PHP manual indicates that the MySQLi extension has the ability to start and sto...

Show Detail

build php extension on windows nts mode

as new version of PHP (5.3.x or higher) on windows that compiled none thread safe mode(zendGuardLoader extension just have nts version), so I need to compile my extension with nts mode. It success...

Show Detail

Compiling PHP on Windows with /MT

I need to link PHP statically to a project on which I am working. In order to do this, I believe that I need to compile PHP with /MT, but it appears that it is being done in /MD. The only real

Show Detail

Visual Studio version for compiling PHP extension

Which version of Visual Studio should I use for compiling PHP 5.3 and its extensions for Apache 2.2 downloaded from Apache.org? I read somewhere that the httpd server downloaded from Apache.org is

Show Detail