support for php5.6.30
[php-ancillary.git] / README
diff --git a/README b/README
index c3127d4..e1fb464 100644 (file)
--- a/README
+++ b/README
@@ -1,8 +1,32 @@
-TODO !
+How to compile and install
+==========================
+$ phpize5
+$ ./configure
+$ make
+$ su
+# make install-modules
 
-into ../libancillary/Makefile
--fpic  into CFLAGS
 
-Into Makefile
--I../libancillary 
-LDFLAGS = ../libancillary/fd_recv.o
+How to test it
+==============
+
+configure PHP:
+add /etc/php5/cli/conf.d/30-ancillary.ini with content: 
+
+vvvvv
+; configuration for php ancillary module
+; priority=30
+extension=ancillary.so
+^^^^^
+
+configure apache2:
+-----------------
+
+In /etc/apache2/sites-enabled edit http default configuration:
+ProxyPass /php-ancillary/test001.php fd:///tmp/test001.sock keepalive=Off connectiontimeout=5 timeout=3
+
+run test daemon with:
+./test001.php
+
+and browse the web page:
+http://<your-domain>/php-ancillary/test001.php