Question about running php-gtk.
| From: | bertrand de baenst | Date: | Thu, 13 Feb 2003 16:10:18 +0000 |
| Subject: | Question about running php-gtk. | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3028@lists.php.net to get a copy of this message | ||
Hello,
I just discovered php-gtk, and I have some questions.
I have php 4.1.2 installed on my machine, and just downloaded the last
release of php-gtk (0.5.2). I've compiled it without any problems, but when
I execute a small PHP script to load dynamically the librairy with :
<?php
if (!class_exists('gtk')) {
dl('php_gtk.so');
}
?>
I have an error which I do not know how to resolv. If anyone could help me I
would much obliged.
Here is the dump Php gives me :
X-Powered-By: PHP/4.1.2
Content-type: text/html
<br>
<b>Warning</b>: php-gtk: Unable to initialize module
Module compiled with debug=0, thread-safety=0 module API=20020429
PHP compiled with debug=0, thread-safety=0 module API=20010901
These options need to match
in <b>/home/bertrand/profils/test-pgp-gtk/test.php</b> on line
<b>3</b><br>
From what I understand the problem is that the two module API are not the
same, But I cannot find a way to make the two API numbers the same.
Thanks,
Bertrand.