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!

libpcre.so linking cPanel PHP

Discussion in 'General Discussion' started by sparek-3, Oct 14, 2015.

  1. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,721
    Likes Received:
    99
    Trophy Points:
    328
    cPanel Access Level:
    Root Administrator
    What libpcre.so is /usr/local/cpanel/3rdparty/bin/php suppose to be linked to?

    I'm seeing some servers linked to /lib64/libpcre.so.0 and I'm seeing some servers linked to /usr/local/cpanel/3rdparty/lib64/libpcre.so.1. Which one is right?

    Code:
    # ldd /usr/local/cpanel/3rdparty/bin/php | grep libpcre.so
    libpcre.so.1 => /usr/local/cpanel/3rdparty/lib64/libpcre.so.1
    
    # ldd /usr/local/cpanel/3rdparty/bin/php | grep libpcre.so
    libpcre.so.0 => /lib64/libpcre.so.0
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,385
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please post the output from the following command on each server to see where the differences are:

    Code:
    grep '' /etc/redhat-release /usr/local/cpanel/version /var/cpanel/envtype ; grep CPANEL= /etc/cpupdate.conf ; httpd -v ; php -v ; mysql -V
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,721
    Likes Received:
    99
    Trophy Points:
    328
    cPanel Access Level:
    Root Administrator
    Well, the difference is that cpanel-pcre-8.36-1.cp1136.x86_64.rpm is installed on the servers that link to
    /usr/local/cpanel/3rdparty/lib64/libpcre.so.1
    and not installed on the servers that link to
    /lib64/libpcre.so.0


    But should it be linking to /usr/local/cpanel/3rdparty/lib64/libpcre.so.1?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,385
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, what we are trying to do is help you determine why that's the case. Please post the output from the following command on the servers where you notice different behavior:

    Code:
    grep '' /etc/redhat-release /usr/local/cpanel/version /var/cpanel/envtype ; grep CPANEL= /etc/cpupdate.conf ; httpd -v ; php -v ; mysql -V
    Thank you.
     
    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