PHP 4.2.3 and php-gtk 0.5.1

From: Date: Sat, 21 Sep 2002 14:11:58 +0000
Subject: PHP 4.2.3 and php-gtk 0.5.1
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2436@lists.php.net to get a copy of this message
Hi all, I'm trying to get the combo PHP 4.2.3 and PHP-GTK 0.5.1 on my XP system to work. I don't have another PHP installation on that machine. The problem I have is that I get an error message when loading the php_gtk.dll in the script. The error I get is "The procedure entry point _ecalloc could not be located in the dynamic link library php4ts.dll." I have copied all the gtk files from winnt\system32\ to my real system32 directory. The command line I use is "e:\tools\php.exe -ce:\tools\php -C -f c:\temp\test.php" test.php contains this: <?php if (!class_exists('gtk')) { if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') dl('php_gtk.dll'); else dl('php_gtk.so'); } ?> and the php.ini in e:\tools\php contains: [PHP] short_open_tag = Off precision = 14 allow_call_time_pass_reference = On error_reporting = E_ALL register_argc_argv = On include_path = ".;e:\tools\php\pear" extension_dir = e:\tools\php\extensions enable_dl = On If I copy the php4ts.dll from the php-gtk-0.5.1-win32.zip into the same directory as the php.exe from the 4.2.3 archive. I can run PHP-GTK scripts, but I get a segvault on every exit of a PHP script. Plus things like unserialize() crash PHP.exe. Any pointers to what's wrong? Regards Adi Sieker -- mail: adi@(bebugbase.com|l33tless.org) webstuff: http://www.bebugbase.com && http://www.l33tless.org

« previous php.gtk.general (#2436) next »