compiling an extension
| From: | Pablo Dall'Oglio | Date: | Mon, 05 Nov 2007 16:34:24 +0000 |
| Subject: | compiling an extension | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-4000@lists.php.net to get a copy of this message | ||
Hello people,
I know this list is not the right place to post this...
But there'are people here that should know the answer.
I wrote a simple php extension and I'm trying to compile it under
windows (under linux is ok). To do that, I followed this tutorial
http://deluxe-design.at/win-php-extensions/
adapting some parts to
php5...
I'm Using Visual C++ 2005 Express and the module compiles fine, but when
I try to load through a php script using dl(), I got this error:
Warning: dl(): studio: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
I compiled the project linking against php5.lib and not php5ts.lib, does
anyone know how to compile a module turning thread-safety OFF ?
bests
Pablo