cvs: php-gtk-doc /manual/en/tutorials installation.xml
[email protected] ("Anant Narayanan") Mon, 13 Nov 2006 15:58:33 -0000
| Newsgroups | php.gtk.doc |
|---|---|
| Message-ID | <cvsanant1163433513@cvsserver> |
anant Mon Nov 13 15:58:33 2006 UTC
Modified files:
/php-gtk-doc/manual/en/tutorials installation.xml
Log:
Update installation instructions for OS X a bit.
http://cvs.php.net/viewvc.cgi/php-gtk-doc/manual/en/tutorials/installation.xml?r1=1.9&r2=1.10&diff_format=u
Index: php-gtk-doc/manual/en/tutorials/installation.xml
diff -u php-gtk-doc/manual/en/tutorials/installation.xml:1.9 php-gtk-doc/manual/en/tutorials/installation.xml:1.10
--- php-gtk-doc/manual/en/tutorials/installation.xml:1.9 Wed Sep 13 14:04:56 2006
+++ php-gtk-doc/manual/en/tutorials/installation.xml Mon Nov 13 15:58:33 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<chapter id="tutorials.installation">
<title>Installing PHP-GTK 2</title>
@@ -239,13 +239,10 @@
DarwinPorts) or <ulink url="&url.fink;">Fink</ulink> and install it. You
can use either to install a version of X (if you decided not to use
Apple's default distribution), and Gtk+ itself. Both Fink and MacPorts
- provide versions 2.6 and above of Gtk+.
- </para>
-
- <para>
- Once you have all of the above in place, checkout a 5_2 branch of PHP,
- compile and install it. Although you may installation it anywhere,
- <literal>/usr/local</literal> is generally considered to be a good place.
+ provide versions 2.6 and above of Gtk+. Also make sure you have a version
+ of PHP that is atleast 5.2, MacPorts provides a package. Type
+ <literal>php -v</literal> on your Terminal to find out your version.
+ If you want to manually compile PHP you can do so:
<programlisting role="bash"><![CDATA[
$ cvs -d :pserver:[email protected]:/repository co -r PHP_5_2 php-src
@@ -254,6 +251,9 @@
$ ./configure --disable-cgi
$ make
$ sudo make install]]></programlisting>
+ Although you may install it anywhere, <literal>/usr/local</literal> is
+ usually considered a good place. MacPorts installs PHP into
+ <literal>/opt/local</literal>.
</para>
<para>
@@ -268,6 +268,9 @@
--disable-libglade
$ make
$ sudo make install]]></programlisting>
+ Remember to replace <literal>/usr/local</literal> with the actual directory
+ in which you installed PHP. For example, if you installed PHP 5.2 using
+ MacPorts, you would enter <literal>/opt/local</literal> instead.
</para>
<para>
@@ -277,7 +280,10 @@
<literal>php_gtk2.so</literal> resides. This is usually something like:
<literal>/usr/local/lib/php/extensions/no-debug-non-zts-some-date</literal>.
You may want to create a new symbolic link in <literal>/usr/bin</literal>
- that points to <literal>/usr/local/bin/php</literal>
+ that points to <literal>/usr/local/bin/php</literal>. Again, the directory
+ may be <literal>/opt/local</literal> instead of
+ <literal>/usr/local</literal> depending on where your installation of PHP
+ resides.
</para>
<para>