記錄一下:
問題:No input file specified.
原因:.htaccess文件中的 RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] 在默認情況下會導致No input file specified.
解決辦法:修改成 RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1] ,重啓服務器即可。
注:如果存在user.ini文件,可能還需將其刪除。
記錄一下:
問題:No input file specified.
原因:.htaccess文件中的 RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] 在默認情況下會導致No input file specified.
解決辦法:修改成 RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1] ,重啓服務器即可。
注:如果存在user.ini文件,可能還需將其刪除。
1.無返回值的執行方式: sqlserver: Db::execute('exec do_it'); mysql: Db::execute('call do_it'); 2. 有返回值的執