Go Back   SitePoint Forums > Forum Index > Program Your Site > PHP
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
Reply
 
Thread Tools Display Modes
Old Nov 15, 2009, 12:12   #1
Mounty
SitePoint Enthusiast
 
Mounty's Avatar
 
Join Date: Mar 2008
Location: UK
Posts: 86
Question Can't set mbstring.func_overload in htaccess?

I've been converting the charset for my web app from latin1 to utf-8, and rather than replace the php built in single byte functions with the alternative multibyte functions, I would prefer to use the mbstring.func_overload value.

But for some reason setting this inside a .htaccess file doesn't seem to overwrite the local value! This is the line in the htaccess file:

PHP_VALUE mbstring.func_overload 7



I can't set this to the php.ini configuration as that would break my other websites on the server. Anyone have any other suggestions? I'm using php 5.3.0
Mounty is offline   Reply With Quote
Old Nov 15, 2009, 20:55   #2
PHPycho
SitePoint Wizard
 
PHPycho's Avatar
 
Join Date: Dec 2005
Posts: 1,171
does case sensitivity matters in .htaccess?
if yes then
php_value mbstring.func_overload 7
PHPycho is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread | Next Thread »

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


All times are GMT -7. The time now is 05:32.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved