Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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:
    51
    cPanel Access Level:
    Root Administrator
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,609
    Likes Received:
    32
    Trophy Points:
    238
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice