脚本

PHP中三种设置脚本最大执行时间的方法
PHP中三种设置脚本最大执行时间的方法

php.ini 中缺省的最长执行时间是 30 秒,这是由 php.ini 中的 max_execution_time 变量指定,如果脚本需要跑很长时间;

2020-06-28 19:17:34阅读全文

脚本执行常见错误:build.sh: caller: not found
脚本执行常见错误:build.sh: caller: not found

从Ubuntu 6.10开始,默认使用dash(theDebian Almquist Shell)而不是bash(the GNUBourne-Again Shell)但Login Shell还是bash. 原因是dash更快、更高效,而且它符合POSIX规范。Ubuntu在启动的时候会运行很多she

2022-02-28 11:02:13阅读全文