#24506 [NEW]: Unable to load php_gtk.dll
| From: | sun4php at coolguide dot net | Date: | Sat, 05 Jul 2003 06:31:12 +0000 |
| Subject: | #24506 [NEW]: Unable to load php_gtk.dll | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-499@lists.php.net to get a copy of this message | ||
From: sun4php at coolguide dot net
Operating system: Windows
PHP version: 5.0.0b1 (beta1)
PHP Bug Type: PHP-GTK related
Bug description: Unable to load php_gtk.dll
Description:
------------
I tried to make my php 5 work with my existing gtk which i got by
downloading from http://gtk.php.net.(Windows version 0.9b)
I found out
that even after setting up all the necessary extensions in php.ini and
everything it is still not working.To make sure i copied all necessary
php-gtk .dll's in directories like /(where my php.exe
resides),/extensions,/dll's.
Now when i tried to compile my program modifying my php.ini to point to my
extension dir(extension_dir = "c:\pp\extensions\") and used the following
command
cd c:\pp
php -q -c c:\pp\test\hello.php
and the result was:
Error Parsing c:\pp\test\hello.php on line 4
And actually this "hello.php" was none written by me but something which
came with php-gtk package and my examination has revealed no error with
it.
code has been attached and line numbers have been marked untill 4.
I was wondering what went wrong?
Reproduce code:
---------------
1:<?php
2:/* $Id: hello.php,v 1.6 2002/11/25 18:22:05 fmk Exp $ */
3:
4:if (!class_exists('sqlite')) {
if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN')
dl('php_gtk.dll');
else
dl('php_gtk.so');
}
/*
* Called when delete-event happens. Returns false to indicate that the
event
* should proceed.
*/
function delete_event()
{
return false;
}
--
Edit bug report at http://bugs.php.net/?id=24506&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24506&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24506&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24506&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24506&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24506&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24506&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24506&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24506&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24506&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24506&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24506&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24506&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24506&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24506&r=gnused