#24506 [Opn->Bgs]: Unable to load php_gtk.dll

From: Date: Sat, 05 Jul 2003 16:01:04 +0000
Subject: #24506 [Opn->Bgs]: Unable to load php_gtk.dll
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-502@lists.php.net to get a copy of this message
ID: 24506 Updated by: sfox@php.net Reported By: sun4php at coolguide dot net -Status: Open +Status: Bogus Bug Type: PHP-GTK related Operating System: Windows PHP Version: 5.0.0b1 (beta1) New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php As 'epplestun' said, ZE2 (PHP5) is quite a different animal from ZE1 (PHP4. The current stable PHP-GTK version (0.5.2) should be used on win32 for the time being, as there is no ZE2_PORT binary for Windows just yet. Cutting edge, eh? ;) Previous Comments: ------------------------------------------------------------------------ [2003-07-05 07:29:09] epplestun at alaplaya dot com 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. And in http://gtk.php.net the last version of PHP-GTK is 0.5.2 this is the last and stable version. ------------------------------------------------------------------------ [2003-07-05 01:31:12] sun4php at coolguide dot net 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 this bug report at http://bugs.php.net/?id=24506&edit=1

« previous php.gtk.dev (#502) next »