function getPath(){ //判断浏览器 var Sys = {}; var obj = document.getElementById("headImg"); var viewer = document.getElementById("viewImg"); var ua = navigator.userAgent.toLowerCase(); var s; (s = ua.match(/msie ([\d.]+)/)) ? Sys.…
1)问题现象: 在ubuntu下执行以下脚本( while_count),报错: -bash: ./while_count: /bin/bash: bad interpreter: Text file busy 2)问题原因: This happens because the script file is open for writing, possibly by a rogue process which has not terminated. 3)解决办法: Solution: Check…
今天在lnmp上调试php项目,之前已经在上面测试过tp5框架,可以正常访问.但是新项目由于项目中有些路径是写固定路径的.为了不去修改代码.配置新项目的时候,为新项目设置新的目录.问题就出现了,网页提示 no input file specified.nginx 的error_log 中显示Operation not permitted in Unknown on line 0 Unable to open primary script: 反复检查nginx中的server配置,确认root…
在lnmp上调试php项目,之前已经在上面测试过tp5框架,可以正常访问.但新项目由于项目中有些路径是写固定路径的.为了不去修改代码.配置新项目的时候,为新项目设置新的目录.问题就出现了,网页提示 no input file specified.nginx 的error_log 中显示Operation not permitted in Unknown on line 0 Unable to open primary script:检查nginx中的server配置,确认root配置确实是项…