Re: [PHP-GTK] Connecting to mysql.. .there is any module?

[email protected] (Benjamin FOURTICQ - SGA2) Mon, 05 May 2008 15:06:52 +0200
Newsgroups php.gtk.general
Message-ID <[email protected]>
This means that you use a php_mysqli.dll file that is thread safe and 
does not work with the php-gtk you download. To solve the problem should 
use php_mysqli.dll from a nts version (non-thread-safe) of php.

Hope this help.
Benjamin.
 
Giovanni Battista Lenoci a écrit :
> Hi, I'm new here (and new in php-gtk) and I want to apoligize if this 
> is a stupid question.
>
> I've downloaded this zip:
>
> http://gtk.php.net/do_download.php?download_file=php-gtk-2.0.0-win32-nts.zip 
>
>
> I've unzipped it and succesfully run the example code in the tree.
>
> Then, I did some tests, and now I want to connect to mysql.
>
> I noticed that in the ext dir there isn't any module for do that, than 
> I tried to use my mysql.dll extension from my php5 installation that I 
> use with apache but when I launch php.exe I got this error:
>
> Warning: PHP Startup: mysql: 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
> in Unknown on line 0
>
> Anyone can help me?
>