我经常在我的日志文件中看到这些错误消息。
nationalsurvivorsnetwork.co.uk [Mon Jan 30 15:17:43 2017] [error] [client 77.99.83.122:47903] AH01215: Failed loading /usr/lib64/php56/modules/ioncube_loader_lin.so: /usr/lib64/php56/modules/ioncube_loader_lin.so: cannot open shared object file: No such file or directory:
这是一个带有 JomSocial 专业版的 Joomla 安装。详情如下。
设置值:
PHP Built On Linux web229.extendcp.co.uk 2.6.32-642.6.2.el6.x86_64 #1 SMP Wed Oct 26 06:52:09 UTC 2016 x86_64 Database Version 5.5.54 Database Collation utf8_general_ci Database Connection Collation utf8mb4_general_ci PHP Version 7.0.14 Web Server Apache/2.4.23 (Unix) WebServer to PHP Interface cgi-fcgi Joomla! Version Joomla! 3.6.5 Stable [ Noether ] 1-December-2016 22:46 GMT Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
谁能帮我确定是什么导致了这个错误?
最佳答案
仔细检查加载程序位置中的扩展文件权限:
ls -Z /usr/lib64/php/modules/
适本地更改文件的安全上下文:
sudo chcon system_u:object_r:lib_t:s0 /usr/lib64/php/modules/ioncube_loader_lin_7.0.so
关于php - AH01215 : Failed loading/usr/lib64/php56/modules/ioncube_loader_lin. 所以:无法打开共享对象文件:没有这样的文件或目录:,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41939895/