Re: #24506 [NEW]: Unable to load php_gtk.dll
| From: | Ivan Rodriguez | Date: | Sat, 05 Jul 2003 12:44:16 +0000 |
| Subject: | Re: #24506 [NEW]: Unable to load php_gtk.dll | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-500@lists.php.net to get a copy of this message | ||
With PHP5 you can't run php-gtk 0.5.2 or slower you need the CVS source,
this source is in ZE2_PORT php-gtk
El sáb, 05-07-2003 a las 08:31, sun4php at coolguide dot net escribió:
> 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: ¼e‹‘ñõ¾[Då
> W�Ó¾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
>
>
> --
> PHP-GTK Development Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>