sparek-3

Well-Known Member
Aug 10, 2002
2,087
243
368
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
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.
 

sparek-3

Well-Known Member
Aug 10, 2002
2,087
243
368
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
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
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.