Re: Connecting to mysql.. .there is any module?
| From: | Benjamin FOURTICQ - SGA2 | Date: | Mon, 05 May 2008 13:06:52 +0000 |
| Subject: | Re: Connecting to mysql.. .there is any module? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-8252@lists.php.net to get a copy of this message | ||
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=1PHP compiled with module API=20060613, debug=0, thread-safety=0These options need to match in Unknown on line 0 Anyone can help me?