LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 05-08-2009, 05:07 PM   #1
nitro_punk85
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Rep: Reputation: 0
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
 
Old 05-08-2009, 05:36 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,772

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
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
 
Old 05-08-2009, 05:51 PM   #3
nitro_punk85
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Awesome man, I recompiled without the shared switch and that fixed it, thanks so much!!!
 
  


Reply

Tags
php, phpmyadmin


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
phpMyAdmin complaining about mbstring and mcrypt sneakyimp Linux - Software 4 10-18-2007 10:30 AM
phpMyAdmin - Error Rainel Linux - Newbie 5 09-04-2007 09:21 PM
Need To Install php-mbstring ALInux Red Hat 4 07-22-2007 07:48 PM
error using phpMyAdmin funkyche Linux - Newbie 1 01-12-2005 03:55 PM
mbstring not loadable deweirdt Red Hat 0 06-24-2004 03:12 PM


All times are GMT -5. The time now is 06:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration