Page 1 of 1

PHP-GTK

Posted: Sat Apr 20, 2002 10:51 am
by fatal
Ive tired to install it on my computer, but no luck. gtk.php.net isnt that big of help either. Is there a tutorial on installation of something out there?

Posted: Sat Apr 20, 2002 10:42 pm
by jason
Follow these instructions:

Code: Select all

Welcome to php-gtk for Win32.

The binary distribution for php-gtk contains this structure

php4				->	php and php-gtk binary files
winnt				->	the default php.ini file
winntsystem32		->	gtk binaries used by the extension
samples			->	a few samples to demonstrate the usage
README.TXT			->	this file.

How to install install:

copy php4 to your existing php directory. If this is a new instalation you 
should create c:php4 and copy the files to this directory.

copy winnt to you winnt directory. On Windows NT and Windows 2000 that is c:winnt.
On Windows 95/98 that is c:windows. If you have an existing php.ini you dont need to copy this file.

copy winntsystem32 to you winntsystem32 directory. On Windows NT and Windows 2000 that is c:winntsystem32.
On Windows 95/98 that is c:windowssystem32.

copy samples to the location where you want to run your scripts (c:php4samples)

How to use:

Php-gtk applications can be started from the command line (or a shortcut) with this syntax:

	c:php4php -q c:php4sampleshello.php

thanks

Posted: Sat Apr 20, 2002 11:58 pm
by fatal
w0rd jason, ive been dying to work with it. :D

Posted: Sun Apr 21, 2002 3:22 pm
by hex
I had it working before I flattened my system, and I could run apps thru gtk etc. Thing is, how can one make a standalone PHP-GTK executable? Like a Win32 EXE file? GTK files are stil .php, you have to do "Open With" or something, and that aint distributable, etc.

Is it possible to do this?

Posted: Sun Apr 21, 2002 3:29 pm
by jason
I am sure it is, though I don't know how personally. This is something I would be interested in as well. Though, frankly, you could do something where allow the person to download the app, and have a typical installer put the files where they need to go (installing PHP-GTK in the process) and actually have a simply script written in VB or C/C++ that runs that opens a console and writes in the correct command, running the program.

However, as far as compiling, wasn't there a program that would turn PHP programs into windows .exe's?

I google'd for it, but couldn't find anything.

Maybe someone else.

Posted: Mon Apr 22, 2002 8:11 am
by Phirus
I came across this a while back, i think I posted it on EW..

Triplehash Serlient - http://www.triplehash.com/

PhIrUs

Posted: Mon Apr 22, 2002 11:03 am
by hex
Looks good, anyone got a full version they fancy sending me to 'evaluate'?