php version switching problem with .htaccess

Discussion in 'Apache' started by suriyansuresh, Sep 9, 2008.

  1. #1
    I am using Linux/Apache/php in my project

    my php version is 4.4.8
    my code was working smoothly while i am in php 4.4.8

    i changed my codebase to use php 5 advanced features
    so asking my hosting company for php5
    they told me that add

    AddHandler application/x-httpd-php5 .php in .htaccess file
    my php version is swithced to php5 after adding the line

    but i cannot receive values $_POST global array values are blank
    if i removed the addhandler line from .htaccess i can able to use the $_POST global array values are present
     
    suriyansuresh, Sep 9, 2008 IP