X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=php-ancillary.git;a=blobdiff_plain;f=README;h=e1fb464c23d87aee776042a2936aaab3395a365b;hp=6d85e243311e19ef4aa7d8c7062847f629c6a84a;hb=HEAD;hpb=fb0fe2c49024cc3d711e092108066270a094b955 diff --git a/README b/README index 6d85e24..e1fb464 100644 --- a/README +++ b/README @@ -5,3 +5,28 @@ $ ./configure $ make $ su # make install-modules + + +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