phpgtk__legacy/wiki1/wiki.d/PhpGtk2.InstallingOnWindows

27 lines
9.2 KiB
Text

version=pmwiki-1.0.5
newline=²
text=[[#top]]²!Installing PHP-Gtk 2 on Windows²²----²!!Index ²# [[#auto Using Gnope]]²# [[#manual Manual installation]]²# [[#compilation Compilation from CVS]]²----²[[#auto]]²!!Using Gnope²As you may have noticed in the Php-Gtk announcements, the first public version of [[http://www.gnope.org Gnope]] has been released.²²Gnope is a full-featured Php-Gtk 2 installation, complete with PHP 5.1 and PEAR. It allows you to deploy a working Php-Gtk 2 enviroment in Windows with only a few mouse clicks. Check [[http://www.gnope.org their site]] for more information. \\²([[#top top]])²----²²[[#manual]]²!!Manual Installation²²So, going the hard way, uh? Good. =) \\²If you don't already have the runtime environment for GTK 2.6.9 on board, you will need to download the gtk_runtime.zip (consists only of the bare essentials from [[http://www.gimp.org/~tml/gimp/win32/downloads.html Tor's site]] - does NOT include full pango language or immodule support).²*[[http://ftp.emini.dk/pub/php/win32/gtk2/gtk_runtime.zip gtk_runtime.zip]]²²You will also need a copy of php.exe and php5ts.dll from the PHP 5_1 branch. As this branch is not yet stable, the copy used for building PHP-GTK 2 against is available as php_runtime.zip - however, any recent 5_1 download from http://snaps.php.net should work equally well. If you want to use other extensions beyond PHP-GTK and those that are built-in, you should probably download a snaps version of PHP 5.1 rather than this one.²*[[http://ftp.emini.dk/pub/php/win32/gtk2/php_runtime.zip php_runtime.zip]]²²Finally, you will need a copy of the php-gtk2.dll itself. This will be subject to frequent change prior to release, and updated copies will be made available on ftp.emini.dk as and when this comes about. The version reflecting what is actually in CVS (including some of the demo scripts from there) is in php-gtk2.zip, and a 'dodgy' version with any patches that have not yet been agreed and finalized is available in php-gtk2-patched.zip. Both zip files contain a copy of php-gtk2.dll - you need to run one or the other, NOT both.²*[[http://ftp.emini.dk/pub/php/win32/gtk2/php-gtk2.zip php-gtk2.zip]]²*[[http://ftp.emini.dk/pub/php/win32/gtk2/php-gtk2-patched.zip php-gtk2-patched.zip]]²²Unzip everything into the same directory. There are prettier ways to install PHP-GTK 2 under Windows, but this is definitely the simplest. There should be two sub-directories (etc and pixbufloaders), and their contents should be left as they are.²²Open your command prompt, cd to the directory where all the files are, and type:²²'''php phpgtk2-demo.php'''²²Finally - if you followed these instructions and it doesn't work, please email me and let me know!²²- Steph <sfox (at) php [dot] net>²²[--This is a slightly modified version of the [[http://ftp.emini.dk/pub/php/win32/gtk2/INSTALL.txt original]] by Steph Fox--] \\²²[[#compilation]]²!!Compilation from CVS²²The instructions how to compile php-gtk2 on windows are in the file win32/README.win32.txt²²²([[#top top]])
time=1138961662
diff:1129255429:1129255429:=1,23c1²< !!Installing the pre-release of PHP-Gtk 2 on Windows²< ²< If you don't already have the runtime environment for GTK 2.6.9 on board, you will need to download the gtk_runtime.zip (consists only of the bare essentials from [[http://www.gimp.org/~tml/gimp/win32/downloads.html Tor's site]] - does NOT include full pango language or immodule support).²< *[[http://ftp.emini.dk/pub/php/win32/gtk2/gtk_runtime.zip gtk_runtime.zip]]²< ²< You will also need a copy of php.exe and php5ts.dll from the PHP 5_1 branch. As this branch is not yet stable, the copy used for building PHP-GTK 2 against is available php_runtime.zip - however, any recent 5_1 download from http://snaps.php.net should work equally well. If you want to use other extensions beyond PHP-GTK and those that are built-in, you should probably download a snaps version of PHP 5.1 rather than this one.²< *[[http://ftp.emini.dk/pub/php/win32/gtk2/php_runtime.zip php_runtime.zip]]²< ²< Finally, you will need a copy of the php-gtk2.dll itself. This will be subject to frequent change prior to release, and updated copies will be made available on ftp.emini.dk as and when this comes about. The version reflecting what is actually in CVS (including some of the demo scripts from there) is in php-gtk2.zip, and a 'dodgy' version with any patches that have not yet been agreed and finalized is available in php-gtk2-patched.zip. Both zip files contain a copy of php-gtk2.dll - you need to run one or the other, NOT both.²< *[[http://ftp.emini.dk/pub/php/win32/gtk2/php-gtk2.zip php-gtk2.zip]]²< *[[http://ftp.emini.dk/pub/php/win32/gtk2/php-gtk2-patched.zip php-gtk2-patched.zip]]²< ²< Unzip everything into the same directory. There are prettier ways to install PHP-GTK 2 under Windows, but this is definitely the simplest. There should be two sub-directories (etc and pixbufloaders), and their contents should be left as they are.²< ²< Open your command prompt, cd to the directory where all the files are, and type:²< ²< '''php phpgtk2-demo.php'''²< ²< Finally - if you followed these instructions and it doesn't work, please email me and let me know!²< ²< - Steph <sfox (at) php [dot] net>²< ²< [--This is a slightly modified version of the [[http://ftp.emini.dk/pub/php/win32/gtk2/INSTALL.txt original]] by Steph Fox--]²\ No newline at end of file²---²> Describe InstallingOnWindows here.²\ No newline at end of file²
author=cweiske
author:1129255429=Jp
host:1129255429=212.113.164.99
name=PhpGtk2.InstallingOnWindows
host=84.185.163.45
agent=Opera/8.51 (X11; Linux i686; U; en)
rev=6
diff:1129322277:1129255429:minor=6c6²< You will also need a copy of php.exe and php5ts.dll from the PHP 5_1 branch. As this branch is not yet stable, the copy used for building PHP-GTK 2 against is available as php_runtime.zip - however, any recent 5_1 download from http://snaps.php.net should work equally well. If you want to use other extensions beyond PHP-GTK and those that are built-in, you should probably download a snaps version of PHP 5.1 rather than this one.²---²> You will also need a copy of php.exe and php5ts.dll from the PHP 5_1 branch. As this branch is not yet stable, the copy used for building PHP-GTK 2 against is available php_runtime.zip - however, any recent 5_1 download from http://snaps.php.net should work equally well. If you want to use other extensions beyond PHP-GTK and those that are built-in, you should probably download a snaps version of PHP 5.1 rather than this one.²
author:1129322277=Jp
host:1129322277=212.113.164.99
diff:1134671863:1129322277:=1,2c1²< [[#top]]²< !Installing PHP-Gtk 2 on Windows²---²> !!Installing the pre-release of PHP-Gtk 2 on Windows²4,19d2²< ----²< !!Index ²< # [[#auto Using Gnope]]²< # [[#manual Manual installation]]²< ----²< [[#auto]]²< !!Using Gnope²< As you may have noticed in the Php-Gtk announcements, the first public version of [[http://www.gnope.org Gnope]] has released.²< ²< Gnope is a full-featured Php-Gtk 2 installation, complete with PHP 5.1 and Pear. It allows you to deploy a working Php-Gtk 2 enviroment in Windows with only a few mouse clicks. Check [[http://www.gnope.org their site]] for more information.²< ----²< ²< [[#manual]]²< !!Manual Installation²< ²< So, going the hard way, uh? Good. =) \\²
author:1134671863=Jp
host:1134671863=85.138.0.24
diff:1134671951:1134671863:minor=13,14c13²< Gnope is a full-featured Php-Gtk 2 installation, complete with PHP 5.1 and Pear. It allows you to deploy a working Php-Gtk 2 enviroment in Windows with only a few mouse clicks. Check [[http://www.gnope.org their site]] for more information. \\²< ([[#top top]])²---²> Gnope is a full-featured Php-Gtk 2 installation, complete with PHP 5.1 and Pear. It allows you to deploy a working Php-Gtk 2 enviroment in Windows with only a few mouse clicks. Check [[http://www.gnope.org their site]] for more information.²41,42c40²< [--This is a slightly modified version of the [[http://ftp.emini.dk/pub/php/win32/gtk2/INSTALL.txt original]] by Steph Fox--] \\²< ([[#top top]])²\ No newline at end of file²---²> [--This is a slightly modified version of the [[http://ftp.emini.dk/pub/php/win32/gtk2/INSTALL.txt original]] by Steph Fox--]²\ No newline at end of file²
author:1134671951=Jp
host:1134671951=85.138.0.24
diff:1134716494:1134671951:=11c11²< As you may have noticed in the Php-Gtk announcements, the first public version of [[http://www.gnope.org Gnope]] has been released.²---²> As you may have noticed in the Php-Gtk announcements, the first public version of [[http://www.gnope.org Gnope]] has released.²13c13²< Gnope is a full-featured Php-Gtk 2 installation, complete with PHP 5.1 and PEAR. It allows you to deploy a working Php-Gtk 2 enviroment in Windows with only a few mouse clicks. Check [[http://www.gnope.org their site]] for more information. \\²---²> Gnope is a full-featured Php-Gtk 2 installation, complete with PHP 5.1 and Pear. It allows you to deploy a working Php-Gtk 2 enviroment in Windows with only a few mouse clicks. Check [[http://www.gnope.org their site]] for more information. \\²
author:1134716494=cweiske
host:1134716494=84.185.152.128
diff:1138961662:1134716494:=8d7²< # [[#compilation Compilation from CVS]]²43,49d41²< ²< [[#compilation]]²< !!Compilation from CVS²< ²< The instructions how to compile php-gtk2 on windows are in the file win32/README.win32.txt²< ²< ²
author:1138961662=cweiske
host:1138961662=84.185.163.45