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.

Missing PHP Options

Discussion in 'EasyApache' started by dazeck, Aug 22, 2016.

  1. dazeck

    dazeck Well-Known Member

    Joined:
    Jul 19, 2014
    Messages:
    57
    Likes Received:
    9
    Trophy Points:
    8
    Location:
    England
    cPanel Access Level:
    Root Administrator
    According to PHP Options - EasyApache 4 - cPanel Documentation

    I should have php options svsvmsg, sysvsem, sysvshm, shmop but I don't see them in my list. I am trying to get as close to my EA3 setup as I can to preempt any issue I may get during the upgrade to EA4 and I have exported all my sites onto a test server where I can mess around, all of the wordpress sites work but my main WHMCS site doesn't work due to the following missing libraries.

    shmop.so
    ixed.5.6.lin
    sysvmsg.so
    sysvsem.so
    sysvshm.so

    If and when I migrate from EA3 to EA4 will it pick all the options for me based on my current EA3 profile or will I be required to choose the EA4 profile and then select the correct items ?
     
  2. dazeck

    dazeck Well-Known Member

    Joined:
    Jul 19, 2014
    Messages:
    57
    Likes Received:
    9
    Trophy Points:
    8
    Location:
    England
    cPanel Access Level:
    Root Administrator
    I have fixed the issue with ixed by adding sourceguardian and zendguard loaders (not sure which one resolved the issue, but at least it's one off the list)
     
  3. dazeck

    dazeck Well-Known Member

    Joined:
    Jul 19, 2014
    Messages:
    57
    Likes Received:
    9
    Trophy Points:
    8
    Location:
    England
    cPanel Access Level:
    Root Administrator
    Any idea how I can get shmop.so, sysvmsg.so, sysvsem.so,sysvshm.so added ?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    PHP is compiled with those shared objects by default in EasyApache 4. You can verify that by reviewing the "php -i" output for the PHP SCL specific to the version:

    Code:
    /opt/cpanel/ea-php56/root/usr/bin/php -i
    Thank you.
     
  5. knifesk

    knifesk Registered

    Joined:
    Sep 9, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Argentina
    cPanel Access Level:
    Root Administrator
    Hello, I have the same problem and I need to enable this extensions.. Problem is that php is compiled with the params
    '--enable-sysvmsg=shared' '--enable-sysvshm=shared' '--enable-sysvsem=shared'
    and I'm getting

    PHP Fatal error: Call to undefined function msg_get_queue() in script.php on line 41

    I've created the file /opt/cpanel/ea-php54/root/etc/php.d/___sysv.ini
    ====================================
    ; Enable System V extension module
    extension=sysvmsg.so
    extension=sysvsem.so
    extension=sysvshm.so

    But I only get

    PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php54/root/usr/lib64/php/modules/sysvshm.so' - /opt/cpanel/ea-php54/root/usr/lib64/php/modules/sysvshm.so: cannot open shared object file: No such file or directory in Unknown on line 0

    Any hints? Thanks!
     
  6. knifesk

    knifesk Registered

    Joined:
    Sep 9, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Argentina
    cPanel Access Level:
    Root Administrator
    Nevermind, I've solved this by installing the packages ea-php54-php-process.x86_64, ea-php55-php-process.x86_64 and ea-php56-php-process.x86_64
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    649
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I'm happy to see you were able to address the issue. Thank you for updating us with the outcome.
     
Loading...

Share This Page