X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=php-ancillary.git;a=blobdiff_plain;f=README;h=e1fb464c23d87aee776042a2936aaab3395a365b;hp=c3127d4190cbd546fb8be519a4b1b64376ee96f2;hb=HEAD;hpb=8b85692ac21a19e7aa0485e66770d3228ab438d5 diff --git a/README b/README index c3127d4..e1fb464 100644 --- 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:///php-ancillary/test001.php