PHP shows the below error message,
=--==-
/usr/bin/php: /lib/libz.so.1: no version information available (required by /opt/xml2/lib/libxml2.so.2)
-==-
which does not create issue with the site, but will fill the logs with this error, will cause difficulties.
This cause due to inappropriate version of llibz.so.1 installed.
1. Check the architecture using the command arch
2. Check for the version installation of package ,
locate libz.so.1
/lib64/libz.so.1 ---> Correspond to 64 bit
/lib/libz.so.1 --> Correspond to 32 bit.
Move the file , mv /lib/libz.so.1 to /lib/libz.so.1.back.
Now tail the apache logs. "tailf /usr/local/apache/logs/error_log", this error will have vanished.
Done
=--==-
/usr/bin/php: /lib/libz.so.1: no version information available (required by /opt/xml2/lib/libxml2.so.2)
-==-
which does not create issue with the site, but will fill the logs with this error, will cause difficulties.
This cause due to inappropriate version of llibz.so.1 installed.
1. Check the architecture using the command arch
2. Check for the version installation of package ,
locate libz.so.1
/lib64/libz.so.1 ---> Correspond to 64 bit
/lib/libz.so.1 --> Correspond to 32 bit.
Move the file , mv /lib/libz.so.1 to /lib/libz.so.1.back.
Now tail the apache logs. "tailf /usr/local/apache/logs/error_log", this error will have vanished.
Done