Results 1 to 3 of 3

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

  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    2

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

    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. #2
    Registered User
    Join Date
    Apr 2011
    Posts
    2

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

    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. #3
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

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

    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!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. PHP: Error parsing /usr/local/lib/php.ini on line 827
    By Nicarlo in forum New User Questions
    Replies: 9
    Last Post: 04-29-2011, 10:13 PM
  2. PHP: Error parsing /usr/local/lib/php.ini on line 1136
    By desiguru in forum New User Questions
    Replies: 1
    Last Post: 12-08-2009, 07:11 PM
  3. cannot overwrite remote file " /usr/local/lib/php.ini?
    By ehuey in forum New User Questions
    Replies: 3
    Last Post: 03-15-2008, 01:02 PM
  4. [line 108 of /usr/local/cpanel/base/horde/lib/Prefs/sql.php]
    By Christleo in forum Database Discussions
    Replies: 17
    Last Post: 08-11-2004, 04:14 AM
  5. [line 108 of /usr/local/cpanel/base/horde/lib/Prefs/sql.php]
    By Christleo in forum cPanel & WHM Discussions
    Replies: 17
    Last Post: 08-11-2004, 04:14 AM