How to enable php ini features in .htaccess?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jonathan184
    New Member
    • Nov 2006
    • 154

    How to enable php ini features in .htaccess?

    Hi I would like to enable these two features for one of the websites on a server, How would i put this in an .htaccess doc?

    [PHP];; Enable output character encoding conversion for all PHP pages

    ;; Enable Output Buffering
    output_bufferin g = On

    ;; Set mb_output_handl er to enable output conversion
    output_handler = mb_output_handl er
    [/PHP]
  • mgast
    New Member
    • Sep 2006
    • 9

    #2
    Originally posted by jonathan184
    Hi I would like to enable these two features for one of the websites on a server, How would i put this in an .htaccess doc?

    [PHP];; Enable output character encoding conversion for all PHP pages

    ;; Enable Output Buffering
    output_bufferin g = On

    ;; Set mb_output_handl er to enable output conversion
    output_handler = mb_output_handl er
    [/PHP]
    Try these two lines:

    Code:
    php_value output_buffering On
    php_value output_handler mb_output_handler

    Comment

    Working...