我在Centos vps盒子上安装了Nginx和PHP-fpm.我需要添加一个cronjob来每10分钟执行一次脚本.我尝试了crontab -e,其中包含以下内容:
原文链接:https://www.f2er.com/centos/373529.html*/10 * * * * /path/to/script/script.PHP
–
尝试安装PHP-cli时出错
--> Running transaction check ---> Package PHP-cli.i386 0:5.1.6-27.el5_5.3 set to be updated --> Processing Dependency: PHP-common = 5.1.6-27.el5_5.3 for package: PHP-cli --> Finished Dependency Resolution PHP-cli-5.1.6-27.el5_5.3.i386 from base has depsolving problems --> Missing Dependency: PHP-common = 5.1.6-27.el5_5.3 is needed by package PHP-cli-5.1.6-27.el5_5.3.i386 (base) Error: Missing Dependency: PHP-common = 5.1.6-27.el5_5.3 is needed by package PHP-cli-5.1.6-27.el5_5.3.i386 (base)