1 |
How to use Hydra with PHP |
How to use Hydra with PHP |
2 |
|
|
3 |
0. Get hydra-sapi.tar.gz from ftp://ftp.hellug.gr/pub/software/hydra/php |
0. Get PHP4. |
4 |
|
|
5 |
1. Untar the file as a subdirectory called hydra/ in the sapi/ |
1. Get hydra-sapi-0.0.x.tar.gz from ftp://ftp.hellug.gr/pub/software/hydra/php |
6 |
|
(note that 'x' must match your Hydra version). |
7 |
|
|
8 |
|
2. Untar the hydra-sapi tarball as a subdirectory called hydra/ in the sapi/ |
9 |
directory in the PHP main source tree. |
directory in the PHP main source tree. |
10 |
|
|
11 |
2. CD into the PHP's source tree and run "autoconf" |
3. CD into the PHP's source tree and run "autoconf" |
12 |
|
If you don't have autoconf, get it at ftp://ftp.gnu.org/ |
13 |
|
|
14 |
3. Proceed to "./configure --with-hydra=/where/hydra/source/is" and "make" |
4. Proceed to "./configure --with-hydra=/where/hydra/source/is" and "make" |
15 |
|
|
16 |
4. Compile Hydra with SMP and HIC enabled (this is the default) |
5. Compile Hydra with SMP and HIC enabled (this is the default) |
17 |
|
|
18 |
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. |
19 |
|
|
20 |
6. Run Hydra |
7. Run Hydra. |