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.

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,384
    Likes Received:
    23
    Trophy Points:
    38
    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:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    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.
     
  3. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,384
    Likes Received:
    23
    Trophy Points:
    38
    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:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    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.
     
Loading...

Share This Page