Re: PHP 4.2.3 and php-gtk 0.5.1
| From: | Steph | Date: | Sat, 21 Sep 2002 15:17:51 +0000 |
| Subject: | Re: PHP 4.2.3 and php-gtk 0.5.1 | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2437@lists.php.net to get a copy of this message | ||
Adi, hi,
You need a version of PHP-GTK 0.5.1 that has been built with 4.2.3 for
that to work.
I'll put one together later today, you're the second to ask. Does
anybody have any web space where ppl can download the dlls?
- Steph
----- Original Message -----
From: "Adi Sieker" <ml@l33tless.org>
To: <php-gtk-general@lists.php.net>
Sent: Saturday, September 21, 2002 2:11 PM
Subject: [PHP-GTK] PHP 4.2.3 and php-gtk 0.5.1
> 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
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>