Dear PHP-experts,

I am running PHP 4.2.2 on RedHat-Linux 9.0

and I have the following problem:
To use the solution "opensurveypilot" the
PHP-modules mhash and mcrypt are required.

can someone tell me, how to add these modules
to my PHP and where to get them?

I cant compile my whole PHP because I am a
newbee and I am scared to destroy all my
web-appearances ...

can someone help?

greetings
---<--<-#@
beuys

    The answer lies in the INSTALL or README files that you'll see once you've uncompressed the tarballs for mcrypt and mhash. That'll tell you the statements you need to run in order to install them to your OS (Linux).

    As far as getting PHP to recognize mcrypt and mhash, you can add a flag during your ./configure line's run so it knows which directory to look for where the two items are found in the O.S. Take a visit to the PHP manual and do a keyword search of either mcrypt or mhash:

    http://www.php.net/mcrypt

    The link I gave you is for mcrypt as you can see, but if you look at the left hand side of your browser window after you load that page, you'll see ofther stuff and since they're in alphabetical order, you should be able to find the link for mhash.

    As for your last question on where to find the tarballs, Google (your friend and mine) could be of assistance. But the documenation folks at PHP have done the work for you. Again, if you visit the link I provided you, you'll see that there are links to grab the tarballs.

    If you don't wish to re-compile PHP, you could probably edit some php.ini settings, but you'll have to research that yourself as I generally do everything during my compilation process. I would do everything on a development server, make sure it works, before attempting anything on the production server.

      Write a Reply...