A Strange Warning (Post-install issue)
| From: | Chris Batchelor | Date: | Fri, 17 Oct 2003 14:52:22 +0000 |
| Subject: | A Strange Warning (Post-install issue) | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3964@lists.php.net to get a copy of this message | ||
Hi all,
I was hoping someone might be able to help me with a few things. I've downloaded PHP-GTK to try
out, I'm running it on a Windows98 development machine that is currently running Apache 1.3.28
and PHP 4.3.3 with GD enabled. (all working fine)
I downloaded the following files necessary for PHP-GTK:-
php-gtk-0.5.2a-win32.zip
gtk+-1.3.0-20030717-setup1.zip
and installed them fine. Now using both 'php.exe -q' & 'phpwin.exe' to
start my PHP-GTK applications I get the following warning dialog pop up each time I try starting a
PHP-GTK app :-
Unknown(): Unable to load dynamic library 'c:\php\extensions\php_gd2.dll' - A device
attached to the system is not functioning.
once you click OK the test programs run as they should, without any apparent problems, having tried
all the various function in the 'gtk.php' test application. Now obviously I can go ahead
and start learning PHP-GTK but I was wondering why this is happening and if there is anything I can
do to stop it, for one reason, in case there are side effects I'm not currently aware of.
In order to give some extra information that might help people solve this you should be aware that I
do have the file 'php_gd2.dll' installed in 'c:\php\extensions\' and it's
working fine as a part of my PHP 4.3.3 installation, in turn running as a module of my apache
server.
Another point to note, and I don't know whether it's meant to be this way, but in my
php-gtk ZIP file listed above the winnt folder that should contain files to be installed to my
windows/system folder was empty, there was only an example php.ini file (which I didn't use but
I did add the necessary lines to my php.ini file. I also made of copy of php.ini to my c:\php
directory as I read somewhere that might help.I don't know whether this folder is supopsed to
be empty but since the ZIP file was valid I guess it was meant to be.
The things that it could be (in my very limited understanding of this :D ) are two things. One, the
version of PHP-GTK that I downloaded was released before GD2 was out and thus is having trouble with
it, (in which case is there not a newer version for win32 available)
or
they is actually some hardware fault with my machine, which I highly doubt since every other
program/system is working A-OK
Any help or insights that people could offer would be greatly appreciated, I tried searching for the
same problem in previous posts and accross the web but couldn't find anything suitable - oh and
btw PHP-GTK could really do with a web-forum (unless there is one and it's just VERY well
hidden :D ) perhaps we should set one up?
Thanks in advance for any help (and sorry for the long post but Iwas just trying to give all the
pertinent information - thanks for reading :D )
Chris
PS - One final question, what's the development status of PHP-GTK, it seems from a lot of my
reading that not much has been happening with it's development recently, based upon the latest
news at the official page (if there is development going on I didn't mean to offend anyone, it
just things on the surface seem quite quiet :)