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.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th July 2010, 21: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

Hi,

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 21:17. Reason: server specification
Reply With Quote
Sponsored Links
  #2  
Old 20th July 2010, 21:52
sygram sygram is offline
Senior Member
 
Join Date: Jan 2007
Posts: 101
Thanks: 10
Thanked 2 Times in 2 Posts
Default

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.

Thanks
Reply With Quote
  #3  
Old 21st July 2010, 09:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,413
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
 
Default

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
Reply

Bookmarks

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 10:56
amavis rejects all inbound emails aclhkaclhk Installation/Configuration 5 28th February 2010 04:24
ISPConfig3 FTP problem karazy-k Server Operation 6 3rd September 2009 16:03
Questions about ISPConfig3 vs. ISPConfig2 atjensen11 General 1 14th March 2009 23:59
ISPConfig3 mail issues warlock Developers' Forum 19 26th January 2009 10:34


All times are GMT +2. The time now is 11:41.


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