尝试使用 locate 命令定位ioncube程序的位置:
locate ioncube
输出:
-bash: locate: command not found
因为需要安装mlocate相应的包:
yum -y install mlocate
再次执行 locate 命令,输出:
locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory
解决的办法是更新库:
updatedb
再次执行 locate 命令,输出:
/usr/local/ioncube ... /usr/local/ioncube/ioncube_loader_lin_5.6.so /usr/local/ioncube/ioncube_loader_lin_5.6_ts.so /usr/local/ioncube/loader-wizard.php