1) Download the latest mhash from http://mhash.sourceforge.net/ and install it as follows,
2) Now add it to the loader configuration in /etc/ld.so.conf.d/mhash.conf# tar -xzf mhash-0.9.9.9.tar.gz # ./configure --prefix=/opt/mhash # make # make install
3) Now edit the file /var/cpanel/easy/apache/rawopts/all_php5 and add the following line/opt/mhash/lib
4) Finally compile the php using the following command--with-mhash=/opt/mhash
You can test the mhash by creating a phpinfo page in your website document root.# /scripts/easyapache --build
No comments:
Post a Comment