cvs: php-gtk /docs/en/chapters install.xml
| From: | Steph Fox | Date: | Mon, 12 Mar 2001 18:55:00 +0000 |
| Subject: | cvs: php-gtk /docs/en/chapters install.xml | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-709@lists.php.net to get a copy of this message | ||
sfox Mon Mar 12 10:55:00 2001 EDT
Modified files:
/php-gtk/docs/en/chapters install.xml
Log:
Altered Win32 install instructions to reflect version 2 readme
Index: php-gtk/docs/en/chapters/install.xml
diff -u php-gtk/docs/en/chapters/install.xml:1.7 php-gtk/docs/en/chapters/install.xml:1.8
--- php-gtk/docs/en/chapters/install.xml:1.7 Thu Mar 8 12:52:41 2001
+++ php-gtk/docs/en/chapters/install.xml Mon Mar 12 10:55:00 2001
@@ -4,9 +4,8 @@
<title>Getting The Latest Version</title>
<simpara>
The source and some binaries for some platforms can be found
- at <ulink url="&url.phpgtk">&url.phpgtk;</ulink>. You will
- also need the latest version of PHP from
- <ulink url="&url.php">&url.php;</ulink>.
+ at <ulink url="&url.phpgtk;">&url.phpgtk;</ulink>. Source users
will
+ also need to install the latest version of PHP from CVS <ulink
url="&url.php.anoncvs;">&url.php.anoncvs;</ulink>.
</simpara>
</sect1>
@@ -16,84 +15,75 @@
Download the latest Binaries from <ulink
url="&url.phpgtk;">&url.phpgtk;</ulink>
</simpara>
<para>
- The Zip file contains all the binaries needed to run PHP-GTK. Copy the files to the following
locations:
- <itemizedlist>
- <listitem>
- <para>
- [PHP Directory](c:\php4)
- <itemizedlist>
- <listitem>
- <simpara>
- php.exe
- </simpara>
- </listitem>
- <listitem>
- <simpara>
- php4ts.dll
- </simpara>
- </listitem>
- <listitem>
- <simpara>
- php_gtk.dll
- </simpara>
- </listitem>
- </itemizedlist>
- </para>
- </listitem>
- <listitem>
- <para>
- [Windows Directory](c:\winnt)
- <itemizedlist>
- <listitem>
- <simpara>
- php.ini
- </simpara>
- </listitem>
- </itemizedlist>
- </para>
- </listitem>
- <listitem>
- <para>
- [System32 Directory](c:\winnt\system32)
- <itemizedlist>
- <listitem>
- <simpara>
- gtk-1.3.dll
- </simpara>
- </listitem>
- <listitem>
- <simpara>
- gdk-1.3.dll
- </simpara>
- </listitem>
- <listitem>
- <simpara>
- gmodule-1.3.dll
- </simpara>
- </listitem>
- <listitem>
- <simpara>
- glib-1.3.dll
- </simpara>
- </listitem>
- <listitem>
- <simpara>
- iconv-1.3.dll
- </simpara>
- </listitem>
- <listitem>
- <simpara>
- gnu-intl.dll
- </simpara>
- </listitem>
- </itemizedlist>
- </para>
- </listitem>
- </itemizedlist>
+ The binary distribution for php-gtk contains this structure:
+ <itemizedlist>
+ <listitem>
+ <simpara>
+ \php4 -> php and php-gtk binary files
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ \winnt -> the default php.ini file
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ \winnt\system32 -> gtk binaries used by the extension
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ \samples -> a few samples to demonstrate the usage
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ README.TXT
+ </simpara>
+ </listitem>
+ </itemizedlist>
</para>
+ <para>
+ <simpara>
+How to install:
+ </simpara>
+ </para>
+ <para>
+ <simpara>
+Copy \php4 to your existing php directory. If this is a new installation you
+should create c:\php4 and copy the files to this directory.
+ </simpara>
+ </para>
+ <para>
+ <simpara>
+Copy \winnt to your 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.
+ </simpara>
+ </para>
+ <para>
+ <simpara>
+Copy \winnt\system32 to your winnt\system32 directory. On Windows NT and Windows 2000 that is
c:\winnt\system32. On Windows 95/98 that is c:\windows\system32.
+ </simpara>
+ </para>
+ <para>
+ <simpara>
+Copy \samples to the location where you want to run your scripts. (eg c:\php4\samples)
+ </simpara>
+ </para>
+ <para>
+ <simpara>
+ How to use:
+ </simpara>
+ </para>
+ <para>
+ <simpara>
+Php-gtk applications can be started from the command line (or a shortcut) with this syntax:
+ </simpara>
+ </para>
+
<note>
<simpara>
- php-gtk has <emphasis>NOT</emphasis> been tested on Windows 95/98
+ <emphasis>c:\php4\php -q c:\php4\samples\hello.php</emphasis>
</simpara>
</note>
</sect1>
@@ -102,29 +92,23 @@
<title>Installing PHP-GTK Under Unix</title>
<para>
We suggest you get the latest source from <ulink
url="&url.phpgtk;">&url.phpgtk;</ulink>
- or from anonymous cvs <ulink
url="&url.php.anoncvs;">&url.php.anoncvs;</ulink>. You need the
- php-gtk module.
+ or from anonymous cvs <ulink
url="&url.php.anoncvs;">&url.php.anoncvs;</ulink>. You will need the
php-gtk module and php4-0-5 (currently in development), which needs to be installed first.
</para>
<para>
- Now run the phpize script which is installed with php, it will set up
- the necessary files and create 'configure' script for you.
- Next, run <command>./configure</command>. It will check that you
- have the proper version of GTK+ (avalible from
+ Run the phpize script which is installed with php. This will set up the necessary files and
create the 'configure' script. Next, run <command>./configure</command>. It
will check that you
+ have the proper version of GTK+ (available from
<ulink url="&url.gtk;">&url.gtk;</ulink> and other files required
for
- compilation and create the needed Makefiles.
+ compilation, and create the needed Makefiles.
</para>
<simpara>
Finally, run <command>make</command> to compile the extension. Some source files
are generated from .defs files by the code generator. If you see messages like "Could
- not write...", that just means that certain GTK+ objects or features are not yet
- supported. If the compilation is successful, run <command>make install</command> to
install
+ not write...", it means that the listed GTK+ objects or features are not yet supported.
If the compilation is successful, run <command>make install</command> to install
the extension into your default PHP extension directory (usually
<filename>/usr/local/lib/php/extensions</filename>).
</simpara>
<simpara>
- To test the extension, try running the example scripts in the test/ directory,
- especially <filename>gtk.php</filename>. These are also good for showing how
- the extension can be used.
+ To test the extension, try running the example scripts in the test/ directory. These also
provide demonstrations of some of the ways in which the extension can be used.
</simpara>
</sect1>
</chapter>