php mcrypt shared configuration option
I have a php rpm on my system that was installed with many options one of them being:
However when I try and use mcrypt_encrypt() I get an undefined function error.
I have installed libmcrypt to /usr/local/lib
I have added /usr/local/lib to /etc/ld.so.conf and run ldconfig
then restarted httpd
I still get the undefined function error.
What is meant by --with-mcrypt=shared ?
Where can I put a link to the libmcrypt.so so that php will find it?