使用phar打包后上傳文件訪問報(bào)404 不打包直接源代碼啟動(dòng)正常打包成phar后 訪問上傳文件就404了
參考文檔 http://www.wtbis.cn/doc/webman/others/phar.html
'public_path' => base_path(false) . DIRECTORY_SEPARATOR . 'public', 改用相對路徑