|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Connecting to mysql.. .there is any module?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? -- gianiaz.net - web solutions p.le bertacchi 66, 23100 sondrio (so) - italy +39 347 7196482 -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
Re: Connecting to mysql.. .there is any module?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? > -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
Re: Connecting to mysql.. .there is any module?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? > 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 -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
| Free Forum Powered by Nabble | Forum Help |