Re: ZendStudioClient and GTK-PHP ?

From: Date: Mon, 06 Jun 2005 15:21:43 +0000
Subject: Re: ZendStudioClient and GTK-PHP ?
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-5870@lists.php.net to get a copy of this message
I sent this reply directly to the sender by mistake but I'm reposting my reply here as it may be of interest to others. On Mon, 2005-06-06 at 14:24 +0200, P. Gander wrote: > > Debug Error: H:\php\test\hello.php line 5 - php-gtk: PHP GTK+ support is not available under > Web servers > > > Does anybody know, how I can switch off the Server-Mode in the php.ini? You can't do this in php.ini. However there is a way to do this as long as you built php-gtk from source. Open the file php_gtk+.c in the ext/gtk+ directory of your source tree. find the lines if (SG(request_info).request_method != NULL) { php_error(E_ERROR, "php-gtk: PHP GTK+ support is not available under Web servers"); return; } and comment them out, recompile php-gtk and you will be able to use zend studio to debug your gtk apps. btw, i would recomend you only do this on your development machines and not any production ones. hth tony

« previous php.gtk.general (#5870) next »