The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP: Error parsing /usr/local/lib/php.ini

Discussion in 'General Discussion' started by Clemy, Apr 5, 2012.

  1. Clemy

    Clemy Member

    Joined:
    Mar 23, 2012
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Good Day all,

    I have done
    Code:
    php -v
    on got
    Code:
    PHP:  Error parsing /usr/local/lib/php.ini on line 813
    which is
    Code:
    url_rewriter.tags = a=href,area=href,frame=src,input=src,form=,fields et=
    I have done the changes of inserting
    Code:
    ""
    then i get a 500 error.. i then see there is a duplicate url.rewrite

    when i delete either of them i still get 500 error..

    and yes i do restart the apache

    please help :(
     
  2. amperages

    amperages Registered

    Joined:
    Mar 3, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You can move this copy and revert to a default by doing:

    Code:
    cd /usr/local/lib
    mv php.ini php.ini.bak120405
    /usr/local/cpanel/scripts/phpini
     
Loading...

Share This Page