Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 20th July 2010, 22:16
sygram sygram is offline
Senior Member
Join Date: Jan 2007
Posts: 101
Thanks: 10
Thanked 2 Times in 2 Posts
Default ispconfig3 overwrite mbstring for host


i have to use mbstring for one of my hosts. I enabled it in php.ini but phpmyadmin complains that it will create problems. So i kept the defaults there and tried to enable it only for my host. So i tried 2 ways.

1) Went to ispconfig -> sites -> selected site -> Options and added :

php_admin_flag file_uploads On
php_admin_value mbstring.internal_encoding UTF-8
php_admin_flag mbstring.encoding_translation On
php_admin_value mbstring.func_overload 7

2) placed the above values to .htaccess

i also used php_value without admin.

Unfortunately my phpinfo page displays that the mbstring values are not set. so the php application does not run properly.

Any ideas how to overcome this and set it per host (debian lenny 64) ?

Thank you very much

Best Regards

Last edited by sygram; 20th July 2010 at 22:17. Reason: server specification
Reply With Quote
Sponsored Links
Old 20th July 2010, 22:52
sygram sygram is offline
Senior Member
Join Date: Jan 2007
Posts: 101
Thanks: 10
Thanked 2 Times in 2 Posts

In case someone else faces the same problem, the issue was caused by the use of php fast-cgi. We decided to use mod_php and values are overwritten properly. I am sure in case of fast-cgi these values would have to be overwritten differently, perhaps not supported currently from ispconfig 3.

Reply With Quote
Old 21st July 2010, 10:38
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,007
Thanks: 840
Thanked 5,651 Times in 4,461 Posts

php_admin_flag and php_admin_value are functions of the mod_php module and not general functions of the php programming language. So these functions work only in mod_php. This has nothing to do with ispconfig, please see php manual for details on how to override settings in different php modes.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig3 | Welcome message has been sent to the wrong host Hans General 6 16th July 2010 11:56
amavis rejects all inbound emails aclhkaclhk Installation/Configuration 5 28th February 2010 05:24
ISPConfig3 FTP problem karazy-k Server Operation 6 3rd September 2009 17:03
Questions about ISPConfig3 vs. ISPConfig2 atjensen11 General 1 15th March 2009 00:59
ISPConfig3 mail issues warlock Developers' Forum 19 26th January 2009 11:34

All times are GMT +2. The time now is 12:29.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.