LAMP下出现的问题

江枫思渺然 提交于 2020-03-11 02:33:45

错误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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!