Re: Connecting to mysql.. .there is any module?
| From: | Elizabeth M Smith | Date: | Mon, 05 May 2008 13:17:41 +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-8253@lists.php.net to get a copy of this message | ||
Giovanni Battista Lenoci wrote:
> 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?
>
This question has been answered on the list before, AND it is in the
windows README - php-gtk2 needs to be use with non-thread-safe PHP
extensions. To get extensions not distributed in the php-gtk2 binary
pack visit php.net/downloads and get the non-thread safe php download or
the non-thread safe pecl pack.
Thanks,
Elizabeth Smith