Fw: [PHP-GTK] ZendStudioClient and GTK-PHP ?

From: Date: Wed, 08 Jun 2005 07:23:37 +0000
Subject: Fw: [PHP-GTK] ZendStudioClient and GTK-PHP ?
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1369@lists.php.net to get a copy of this message
Maybe we _should_ be able to do this as an ini option.... It's not the first time this has come up. Flames? ----- Original Message ----- From: "tony" <tony@webwise-data.co.uk> To: <php-gtk-general@lists.php.net> Sent: Monday, June 06, 2005 4:21 PM Subject: Re: [PHP-GTK] ZendStudioClient and GTK-PHP ? > 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 > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

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