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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Steph Fox
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" <[hidden email]>
To: <[hidden email]>
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
>

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php