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

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

Tags:
  1. Rockforduk

    Rockforduk Member

    Joined:
    May 5, 2016
    Messages:
    18
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,532
    Likes Received:
    1,966
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Rockforduk

    Rockforduk Member

    Joined:
    May 5, 2016
    Messages:
    18
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,532
    Likes Received:
    1,966
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm happy to see you were able to address the issue. Thank you for updating us with the outcome.
     
    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