cvs: embed /php-irssi README
[email protected] ("Wez Furlong") Mon, 31 Mar 2003 17:24:52 -0000
| Newsgroups | php.embed.cvs |
|---|---|
| Message-ID | <cvswez1049131492@cvsserver> |
wez Mon Mar 31 12:24:52 2003 EDT
Modified files:
/embed/php-irssi README
Log:
Update the README
Index: embed/php-irssi/README
diff -u embed/php-irssi/README:1.10 embed/php-irssi/README:1.11
--- embed/php-irssi/README:1.10 Mon Mar 31 12:06:27 2003
+++ embed/php-irssi/README Mon Mar 31 12:24:52 2003
@@ -1,36 +1,30 @@
README
-----------------------------------------------------------------------
-$Id: README,v 1.10 2003/03/31 17:06:27 wez Exp $
+$Id: README,v 1.11 2003/03/31 17:24:52 wez Exp $
-You need:
+HOWTO:
-o PHP 5-dev or higher, with sapi/embed (--enable-embed) and an
-installed php cli binary (it needs to be in your path).
-Be sure you have correct php-config in your path if you have a
-php4 on your box, too (php-config --version).
+1. Get PHP5 and install it
-o CVS version of irssi:
-
- cvs -d:pserver:[email protected]:/home/cvs login
- Just hit enter as the password
- cvs -z3 -d:pserver:[email protected]:/home/cvs co -P irssi
-
-Then you need to apply a patch in irssi/src which tells irssi's build
-system about the php module:
-
- patch < path/to/php-irssi/irssi.diff
-
- if it asks for configure.in enter ../configure.in
-
-Now mv *this* dir into irssi/src/:
-
- mv embed/php-irssi irssi/src/php-irssi
-
-and from the top irssi dir;
-
- ./autogen.sh --without-perl --with-php=/path/to/php-config
-
- make install
+ % cvs -z3 -d:pserver:[email protected]:/repository login
+ ---> enter "phpfi" as the password
+ % cvs -z3 -d:pserver:[email protected]:/repository co -P php5
+ % cd php5
+ % ./buildconf
+ % ./configure --prefix=/usr/local/php5 --enable-embed
+ % make install
+
+2. Get IRSSI and php-irssi, patch and build
+
+ % cvs -d:pserver:[email protected]:/home/cvs login
+ ---> Just hit enter as the password
+ % cvs -z3 -d:pserver:[email protected]:/home/cvs co -P irssi
+ % cd src
+ % cvs -z3 -d:pserver:[email protected]:/repository co -P -d php-irssi embed/php-irssi
+ % cd ..
+ % patch < src/php-irssi/irssi.diff
+ % ./autogen.sh --without-perl --with-php=/usr/local/php5/bin/php-config
+ % make install
To use: