--- hydra/README.PHP 2002/10/02 08:57:04 1.1 +++ hydra/README.PHP 2003/01/22 07:51:49 1.3 @@ -1,16 +1,23 @@ -How to use Hydra with PHP +How to use Hydra with PHP. This is HIGHLY EXPERIMENTAL since there +are several known bugs, with the hydra sapi module. -0. Get hydra-sapi.tar.gz from ftp://ftp.hellug.gr/pub/software/hydra/php +0. Get PHP4. -1. Untar the file as a subdirectory called hydra/ in the sapi/ +1. Get hydra-sapi-0.y.x.tar.gz from ftp://ftp.hellug.gr/pub/software/hydra/php + (note that 'y' and 'x' must match your Hydra version). + +2. Untar the hydra-sapi tarball as a subdirectory called hydra/ in the sapi/ directory in the PHP main source tree. -2. CD into the PHP's source tree and run "autoconf" +3. CD into the PHP's source tree and run "autoconf" + If you don't have autoconf, get it at ftp://ftp.gnu.org/ -3. Proceed to "./configure --with-hydra=/where/hydra/source/is" and "make" +4. Proceed to "./configure --with-hydra=/where/hydra/source/is" and "make" + Note that you should point to the root of the untarred data, not + to the src/ directory. -4. Compile Hydra with SMP and HIC enabled (this is the default) +5. Compile Hydra with SMP and HIC enabled (this is the default) -5. Edit the hydra.conf to enable HIC modules +6. Edit the hydra.conf to enable HIC modules, and set the path of libphp4.so. -6. Run Hydra +7. Run Hydra.