在docker中建立Nginx與php-pfm 報file not find. 錯誤;
1、檢查nginx.conf中的fastcgi_param 是否是SCRIPT_FILENAME $document_root$fastcgi_script_name;
2、檢查docker php的檔案對映目錄和Nginx是的檔案對映目錄是否一致。
注:我就是在第二點弄了很久 兩個容器的都應該對映一樣的網站檔案,如果-v /var/www:/var/www;
docker中建立Nginx和php-pfm 報file not find .錯誤。
相關文章
- linux中file命令和find命令Linux
- 建立DOCKER fileDocker
- docker建立nginxDockerNginx
- nginx 錯誤除錯Nginx除錯
- file_get_content s()獲取https出現這個錯誤Unable to find the wrapperHTTPAPP
- navicat 建立事件報語法錯誤事件
- find 命令刪除冗餘 Nginx 錯誤日誌並實現備份Nginx
- CentOS7中使用yum安裝時報cannot find a valid baseurl for repo錯誤CentOS
- [20180302]使用find命令小錯誤.txt
- Nginx報504 gateway timeout錯誤的解決方法NginxGateway
- scp 報錯 not a regular file
- Nginx安裝啟動過程報錯libpcre.so.1 cannot open shared object file: No such file or directoryNginxObject
- linux解決“XXX is not in the sudoers file”錯誤Linux
- Android開發:Android虛擬機器啟動錯誤Can't find 'Linux version ' string in kernel image fileAndroid虛擬機Linux
- Doris建立表報錯Failed to find enough host with storage medium問題解決AI
- docker建立mysql、nginx資料卷DockerMySqlNginx
- C中的匯流排錯誤和段錯誤
- windows 中nginx奇葩報錯 nginx: [emerg] unknown directive "#" in nginx/conf/nginx.conf:3WindowsNginx
- Maven:Non-resolvable parent POM: Failure to find錯誤MavenAI
- [鴻蒙開發]真機轉模擬機執行出現錯誤: ERROR: Failed to find the incremental input file:鴻蒙ErrorAIREM
- eslint --fix 報錯 can't not find modulesEsLint
- mongodb find報錯怎麼解決MongoDB
- Oracle 12c 使用FILE_NAME_CONVERT建立pdb報錯 ORA-01276Oracle
- querydsl報錯: Attempt to recreate a file for type
- 頁面報錯 No input file specified
- 解決ubuntu系統“XXX is not in the sudoers file”錯誤Ubuntu
- Vagrant 啟動 VirtualBox 的問題 ( 誤裝 docker 後報錯 )Docker
- docker中使用systemctl命令時報Too many open files錯誤Docker
- docker fileDocker
- Laravel 安裝後報 500 和 404 錯誤Laravel
- dedeCMS 生成時提示 DedeTag Engine Create File False 錯誤False
- PHP-pfm 理解PHP
- Docker Compose fileDocker
- vue3 Could not find a declaration file for moduleVue
- cannot find trajectory file at ./examples/trajectory.txt
- Find Any File for Mac(檔案搜尋)Mac
- pom-建立web專案錯誤Web
- SQL2012報錯:cannot find one or more cpmponentsSQL