Re: php-gtk instl trbl cont'd
| From: | Steph | Date: | Mon, 29 Apr 2002 12:22:38 +0000 |
| Subject: | Re: php-gtk instl trbl cont'd | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1852@lists.php.net to get a copy of this message | ||
swap?
:)
----- Original Message -----
From: "Daniel García" <dani@buitre.pronym.org>
To: <php-gtk-general@lists.php.net>
Sent: Monday, April 29, 2002 1:19 PM
Subject: Re: [PHP-GTK] php-gtk instl trbl cont'd
>
> Hi Steph,
>
> Yes, I'm a "fortunate" user of win2K...
>
> -- Daniel Garcia
>
>
>
> On Mon, 29 Apr 2002 11:56:18 +0100, Steph wrote:
>
> >Daniel, hi,
> >
> >I think it depends which win32 you happen to be running, I've had reports from others
> >on win2K that there's been no problem with shifting the directory. This doesn't work
> >under win98, is all I can add to the current
> info.
> >
> >----- Original Message -----
> >From: "Daniel García" <dani@buitre.pronym.org>
> >To: <php-gtk-general@lists.php.net>; "Kirk Babb"
> ><kbcd@worldnet.att.net>
> >Sent: Monday, April 29, 2002 11:49 AM
> >Subject: Re: [PHP-GTK] php-gtk instl trbl cont'd
> >
> >
> >>
> >> Hi,
> >>
> >> I'm copying the reply from Markus, which worked for me
> >>
> >> Hope that helps............
> >>
> >> -- Daniel Garcia
> >>
> >>
> >>
> >> On Sat, Feb 02, 2002 at 10:22:55AM +0800, Simon Wheeler wrote :
> >> > HI again, I can still not get 0.5 to run unless php is in the c:\php4 directory,
> >> > putting the PHP .exe that ships with 0.5 anywhere else fails.
> >> >
> >> > can anyone else on windows confirm otherwise please.
> >> >
> >> > If not I guess its a bug??
> >>
> >> I've no problems with putting it in a non-standard path. In
> >> fact, I _never_ put anything in c:\php4\ because every win32
> >> binary defaults to that and this would break almost
> >> everything when using different versions. I'm using W2K.
> >>
> >> I'll describe what I did:
> >>
> >> .) downloaded php-gtk-0.5.0-win32.zip to c:\php\
> >> .) extract whole content to C:\php\php-gtk-0.5.0-win32\
> >> .) opened dos prompt, changed directory to C:\php\php-gtk-0.5.0-win32\php4
> >> .) created a php.ini file with 'extension_dir = .'
> >> .) ran 'php -f C:\php\php-gtk-0.5.0-win32\test\gtk.php' and it popped up
> >>
> >> This was my first attempt and it worked. I've nothing in
> >> c:\winnt\ related to php because this would mean hell with
> >> different PHP versions.
> >>
> >> The win32 console binary has a nasty habbit that when you
> >> type something wrong and a file cannot be found there's no
> >> error output:
> >>
> >> .) 'php -f php -f C:\php\php-gtk-0.5.0-win32\test\gt.php'
> >>
> >> Notice the typo! There will be no error message. There will
> >> be returned -1 to the shell process but unlikely you catch
> >> this on your first try.
> >>
> >> If you don't set the php.ini appropriate you should get an
> >> error like this:
> >>
> >> C:\php\php-gtk-0.5.0-win32\php4>php -f C:\php\php-gtk-0.5.0-win32\test\gtk.php
> >> <br />
> >> <b>Warning</b>: Unable to load dynamic library
> >> 'C:\PHP4/php_gtk.dll' - The module couldn't be found.
> >> in <b>C:\php\php-gtk-0.5.0-win32\test\gtk.php</b> on line
> >> <b>6</b><br />
> >> <br />
> >> <b>Fatal error</b>: Undefined class name 'gtk' in
> >> <b>C:\php\php-gtk-0.5.0-win32\test\gtk.php</b> on line <b>2661</b><br
> >> />
> >>
> >> HTH
> >>
> >> - Markus
> >>
> >> ps: Frank, do you think you could bundle a debug version for win32 too?
> >>
> >>
> >>
> >> On Sun, 28 Apr 2002 16:59:14 -0500, Kirk Babb wrote:
> >>
> >> >Steph wrote:
> >> >
> >> >'display the code' where???
> >> >
> >> >from my initial email:
> >> >:
> >> >>>The sample programs, when tested, will only display the code itself when
> >> >run from the >>command prompt.
> >> >
> >> >All code appears in the command prompt, just as you would normally see it
> >> >when running a php script from a command prompt. Which isn't what I
> >> >expected to see, since this is an example of a "windowed app".
> >> >I am following these directions from the readme included with the
> >> >distribution:
> >> >
> >> >Php-gtk applications can be started from the command line (or a shortcut)
> >> >with this syntax (modified for my directory names)
> >> >
> >> > c:\php\php -q c:\php\gtksamples\hello.php
> >> >
> >> >
> >>
> >>
> >>
> >>
> >> --
> >> PHP-GTK General Mailing List (http://gtk.php.net/)
> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >
>
>
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>