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 on line 782

Discussion in 'General Discussion' started by BerbBrown, Apr 11, 2011.

  1. BerbBrown

    BerbBrown Registered

    Joined:
    Apr 11, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi All

    I am trying to run a PHP based script via CRON JOB. The script seems to run but I receive the following error:

    PHP: Error parsing /usr/local/lib/php.ini on line 782

    Line 782 (or around about line 782) from my PHP.ini file contains:

    ; url_rewriter.tags: (ini file field description not available)
    url_rewriter.tags = a=href,area=href,frame=src,input=src,form=,fieldset=

    I have noticed in some threads that I should surround the value in quotation marks. When I do this PHP fails.

    Any ideas please?

    Thanks in advance

    BB
     
  2. BerbBrown

    BerbBrown Registered

    Joined:
    Apr 11, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Further info:

    If I add the quotation marks:

    url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

    All websites on the server fail to load.

    Can anyone help please?
     
  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
    What PHP version are you running on the machine?

    Code:
    php -v
    If you are using PHP 5.3.4 or higher, you'd need to change the line to the following instead:

    Code:
    url_rewriter.tags = "a=href,area=href,frame=src,input=src,fieldset="
    Where you would remove the form=, portion of that line. If that still does not work or you aren't using PHP 5.3.4 or higher, please submit a ticket to WHM > Support Center > Contact cPanel or using the link in my signature. If you could post the ticket number here if you open one, that would be highly appreciated.

    Thanks!
     
Loading...

Share This Page