LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   mbstring error in phpMyAdmin (https://www.linuxquestions.org/questions/linux-server-73/mbstring-error-in-phpmyadmin-724759/)

nitro_punk85 05-08-2009 05:07 PM

mbstring error in phpMyAdmin
 
Have enabled mbstring in my PHP, however phpMyAdmin is showing that it is not installed. Here is my configure script. While this is RHEL 5 box, I built apache and php by hand not from rpms so please don't tell me to install php-mbstring.


./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql' '--with-mysqli' '--with-pgsql' '--with-mcrypt=/usr/local/bin' '--enable-mbstring=shared'


Thank you

bathory 05-08-2009 05:36 PM

You have build mbstring as a shared library, that's why phpmyadmin cannot find it. You could use just "--enable-mbstring" to built in php.
So, either recompile php, or adjust LD_LIBRARY_PATH to contain the path to mbstring.so. Or you can add this path (something like /usr/local/lib/php/<php-version-numbers> in /etc/ld.so.conf and run ldconfig afterwards.

Regards

nitro_punk85 05-08-2009 05:51 PM

Awesome man, I recompiled without the shared switch and that fixed it, thanks so much!!!


All times are GMT -5. The time now is 11:43 AM.