It is currently Sat Nov 17, 2018 5:26 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Overriding PHP settings through .htaccess
PostPosted: Sun Apr 02, 2006 11:05 pm 
Noobie
Noobie

Joined: Sun Apr 02, 2006 10:41 pm
Posts: 1
Hi.

I've been trying to turn some PHP options OFF through .htaccess, but when I place them I get 500 error (Internal Server Error).
Code:
php_flag register_globals off
php_flag session.use_trans_sid off


Since my website is encoded in UTF-8, I also use these settings for correct encoding. With these ones I get the same error as when I place the ones above.
Code:
php_value default_charset UTF-8
php_flag register_globals OFF
php_flag session.use_trans_sid OFF
php_value session.use_only_cookies 1
php_value mbstring.language uni
php_value mbstring.internal_encoding UTF-8
php_value mbstring.http_input auto
php_value mbstring.http_output pass
php_flag mbstring.encoding_translation ON
php_value mbstring.detect_order ASCII,JIS,UTF-8,EUC-JP,SJIS,EUC-CN,BIG-5,EUC-KR
php_value mbstring.substitute_character none
php_value output_handler none
php_flag output_buffering OFF


Any clues?
It used to work in another server...

Thanks in advance,
-Yuji


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 13, 2007 12:09 pm 
Noobie
Noobie

Joined: Wed Aug 30, 2006 1:42 pm
Posts: 4
http://drupal.org/node/25852


Top
 Profile  
 
 Post subject: Overriding PHP settings through htaccess
PostPosted: Thu Aug 30, 2018 12:55 am 
Noobie
Noobie

Joined: Sat Dec 27, 2014 11:01 am
Posts: 1
I changed to php 6 but I cant run any php despite this code - <?echo "hello"?>. Why ?

_________________
go!


Top
 Profile  
 
 Post subject: Re: Overriding PHP settings through .htaccess
PostPosted: Thu Aug 30, 2018 4:37 pm 
Site Admin
Site Admin

Joined: Sat May 31, 2008 2:02 am
Posts: 44
Hello,

please open a trouble ticket from your account with us and provide us with more detailed information regarding the exact trouble that you experience so we will be able to review this case for you and assist you further. You will be able to do this via the Open a New Ticket button of your account control panel Help Center section at the top right corner in Hosting Control Panel.

_________________
Best Regards,
Miles
ModeratorsTeam
100WebSpace.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ]  Moderators: fhmagic, KJ, Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
100WebSpace © 2011