LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   php mcrypt shared configuration option (https://www.linuxquestions.org/questions/linux-software-2/php-mcrypt-shared-configuration-option-148921/)

Pete Dogg 02-21-2004 07:00 PM

php mcrypt shared configuration option
 
I have a php rpm on my system that was installed with many options one of them being:
'--with-mcrypt=shared'

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?

Pete Dogg 02-22-2004 12:00 PM

any ideas?


All times are GMT -5. The time now is 02:08 AM.