错误1:xml/apr_xml.c:401: 错误:‘apr_xml_parser’没有名为‘xp’的成员
解决办法:yum install expat-devel -y
报错2:error while loading shared libraries: libmysqlclient.so.20: cannot open shared object file: No such file or directory
解决办法:cd /usr/lib && ln -s /opt/libmysqlclient.so.20.3.4 libmysqlclient.so.20 && ldconfig
报错3:httpd: Syntax error on line 191 of /usr/local/apache/conf/httpd.conf: Cannot load modules/libphp7.so into server: libtidy-0.99.so.0: cannot open shared object file: No such file or directory
解决办法 yum install tidy
报错4:httpd: Syntax error on line 191 of /usr/local/apache/conf/httpd.conf: Cannot load modules/libphp7.so into server: libaspell.so.15: cannot open shared object file: No such file or directory
解决办法 yum install aspell
报错5::httpd: Syntax error on line 191 of /usr/local/apache/conf/httpd.conf: Cannot load modules/libphp7.so into server: libodbc.so.2: cannot open shared object file: No such file or directory
解决办法:yum -y install unixODBC
报错6:httpd: Syntax error on line 191 of /usr/local/apache/conf/httpd.conf: Cannot load modules/libphp7.so into server: libexslt.so.0: cannot open shared object file: No such file or directory
解决办法:yum install libexslt
报错7:httpd: Syntax error on line 191 of /usr/local/apache/conf/httpd.conf: Cannot load modules/libphp7.so into server: libenchant.so.1: cannot open shared object file: No such file or directory
解决办法:yum install enchant
报错8:httpd: Syntax error on line 191 of /usr/local/apache/conf/httpd.conf: Cannot load modules/libphp7.so into server: libicui18n.so.42: cannot open shared object file: No such file or directory
解决办法:yum install libicu
报错9:libnetsnmp.so.20: cannot open shared object file: No such file or directory
解决办法:yum -y install net-snmp-libs
报错10:./mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
解决办法:yum install libaio-devel