Re: problems and workarounds running php-gtk 0.5.1 under Windows XP/PHP 4.2.1
| From: | Steph | Date: | Tue, 14 May 2002 13:00:22 +0000 |
| Subject: | Re: problems and workarounds running php-gtk 0.5.1 under Windows XP/PHP 4.2.1 | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1961@lists.php.net to get a copy of this message | ||
Hi Andy,
The argc argv error appears when you have a corrupted copy of php-gtk.dll. If you download the
PHP-GTK zip again you should find it gone.
Cheers, Steph
----- Original Message -----
From: "Andy Sy" <andy@netfxph.com>
To: <php-gtk-general@lists.php.net>
Sent: Tuesday, May 14, 2002 1:50 PM
Subject: [PHP-GTK] problems and workarounds running php-gtk 0.5.1 under Windows XP/PHP 4.2.1
> I am trying to run php-gtk in coexistence
> with my PHP 4.2.1 setup and encountered the
> following interesting problems and workarounds.
>
> Following the instructions I put the g*.dlls,
> i*.dlls and lib*.dlls in windows\system32,
> the php_*.dlls in c:\php4\extensions, pointed
> extension_dir to it and added the [PHP-GTK]
> section to php.ini, but stuck to using the
> CGI php.exe that came with 4.2.1.
>
> I get a "procedure entry point _ecalloc could
> not be located in the dynamic link library
> php4ts.dll" error dialog.
>
> On the other hand if I use the php.exe that
> came with php-gtk 0.5.1, I get a "PHP Fatal
> Error: php-gtk: argc/argv are corrupted in
> hello.php on line 7" where line 7 is the
> dl('php_gtk.dll') statement.
>
> Using php_win.exe results in nothing happening
> and I immediately end up back in the command
> line.
>
> I managed to get it to work only by combining
> php.exe from the 4.2.1 distribution with php4ts.dll
> in the php-gtk 0.5.1 distribution!
>
> In this case php.exe works, but there are certain
> small glitches like the hello program from
> http://www.goldweb.com.au/~davidj/articles/html/1.html
> not exiting properly back to the command line (requires
> a CTRL-BREAK) while other programs would display
> the http headers on exit.
>
> Interestingly enough, by replacing the php-gtk 0.5.1
> php.exe with the one from PHP 4.2.1, php_win.exe now
> also works! It also exhibits none of the problems of
> php.exe from PHP 4.2.1.
>
> What's going on here?
>
>
>
>
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>