#24506 [Com]: Unable to load php_gtk.dll

From: Date: Sat, 05 Jul 2003 12:29:11 +0000
Subject: #24506 [Com]: Unable to load php_gtk.dll
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-501@lists.php.net to get a copy of this message
ID: 24506 Comment by: epplestun at alaplaya dot com Reported By: sun4php at coolguide dot net Status: Open Bug Type: PHP-GTK related Operating System: Windows PHP Version: 5.0.0b1 (beta1) New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#501) next »