Re: continuing saga of NOTHING
| From: | Markus Fischer | Date: | Tue, 30 Apr 2002 07:03:10 +0000 |
| Subject: | Re: continuing saga of NOTHING | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1862@lists.php.net to get a copy of this message | ||
Hi,
from the error message it seems that the php_gtk.dll has been
built under a different API version of the php4ts.dll
(streams were only recently introduced into PHP so this even
might happened from one day to another if the binaries were
built separately).
For that purpose you should only work with one version or do
not mess with public paths like c:\winnt\system32 but only
operate from one directoy (for example, I'm having
c:\shared_dlls\ in my PATH where I put every GTK dll).
Anyway, I bet your binaries are out of (internal API) sync.
- Markus
On Mon, Apr 29, 2002 at 10:33:00PM -0500, Kirk Babb wrote :
> Help, I'm going crazy here. I started the install process of php-gtk all over again (for
> the 5th time) and carefully copied each file to its location according to the included install.txt
> file. W2KSP2, Apache 1.3.24, PHP 4.2 prior to installation of php-gtk-0.5.1-win32. Here are my
> notes from the install:
>
> I copied these dll's to c:\winnt\system32:
> gdk-1.3.dll
> glib-1.3.dll
> gmodule-1.3.dll
> gnu-intl.dll
> gtk-1.3.dll
> iconv-1.3.dll
> libglade-0.14.dll
> libxml.dll
> php4ts.dll
> I then copied the following files to C:\php
> php.exe
> php_gtk.dll
> php_gtk_libglade.dll
> php_gtk_sqpane.dll
> php_win.exe
> Then copied the sample files to C:\php\test & the new php.ini file over to C:\winnt after
> renaming the original php.ini.bak
>
> I get an error when doing the following:
>
> C:\PHP\PHP-GTK-0.5.1-win32> php.exe -f test\hello.php
>
> [BIG RED X & DIALOG BOX] The procedure entry point _php_stream_cast could not be located in
> the dynamic link library php4ts.dll
>
> PHP Warning: Unable to load dynamic library 'C:\php/php_gtk.dll' - The specifie
> d module could not be found in test\hello.php on line 5
> PHP Fatal error: Cannot instantiate non-existent class: gtkwindow in test\hell
> o.php on line 42
>
> I have manipulated the ini several times to change the forward slash you see above prior to
> php_gtk.dll with no success, even though I can get it to "appear" correctly for windows
> paths, i.e. C:\php\php_gtk.dll.
>
> HELP HELP HELP! PLEASE!
>
> thanx
> -kirk
--
Please always Cc to me when replying to me on the lists.
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
"Mind if I MFH ?" "What QA did you do on it?" "the usual?" "ah...
none :)"