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 Selector Errors

Discussion in 'CloudLinux' started by Rockforduk, Jul 12, 2016.

Tags:
  1. Rockforduk

    Rockforduk Member

    Joined:
    May 5, 2016
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London
    cPanel Access Level:
    Root Administrator
    Hi Everyone,
    Under my LVE Manager in the selector section i have the x2 following errors showing up php 5.5

    php:_syntax_error,_unexpected_'='_in_/usr/local/lib/php.ini_on_line_1081

    warning:_php_startup:_apc.shm_size_now_uses_m/g_suffixes,_please_update_your_ini_files_in_unknown_on_line_0

    Thanks

    Rockforduk
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    The error message suggests an entry in your /usr/local/lib/php.ini file is not supported in PHP 5.5. Browse to line 1081 in this file to see the offending line. Note the error message suggests changing "apc.shm_size=123" to "apc.shm_size=123M" (note the addition of the "M"). Replace "123" with the value that's already there.

    Let us know if this helps.

    Thank you.
     
  3. Rockforduk

    Rockforduk Member

    Joined:
    May 5, 2016
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London
    cPanel Access Level:
    Root Administrator
    Yeah all fixed my FFmpeg extension jumped on to the same line as my APC separated the lines and all works now. Thankyou
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page