課程
/后端開發(fā)
/PHP
/輕松學(xué)會(huì)Laravel-高級(jí)篇
如圖所示,很奇怪呀 ?都堅(jiān)持到這兒了 ?卻出了這么個(gè)問題
2017-03-15
源自:輕松學(xué)會(huì)Laravel-高級(jí)篇 2-1
正在回答
看看 有沒有 vendor目錄 ?沒有執(zhí)行
php composer.phar install //我的composer不是全局 如果錯(cuò)誤可能是缺少某些擴(kuò)展 請(qǐng)看提示安裝擴(kuò)展 再重復(fù)此操作 一般就好了?
?可能還會(huì)出現(xiàn)Runtime....錯(cuò)誤 可百度?
我的虛擬機(jī) ifconfig出的ip+/laravel/public/ 可以訪問
但是nginx 配置 test.laravel.com 之后就訪問不了
server { ?
????listen 80; ??
??? server_name test.laravel.com; ??
??? root /data/html/laravel/public; ?
? ? index index.html index.php; ?
? ? location / { ? ? ??
???????????? try_files $uri $uri/ /index.php$is_args$query_string; ??? } ??
??? location ~ \.php$ { ? ? ??
????????????try_files $uri =404; ? ? ?
??????????? fastcgi_pass 127.0.0.1:9000; ? ? ?
? ? ? ? ?? fastcgi_index index.php; ? ? ??
???????????? fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; ? ? ?
? ? ? ? ?? include fastcgi_params; ? ?}}
路由定義出了問題
舉報(bào)
Laravel框架高級(jí)教程,介紹Laravel提供的工具和功能,快來體驗(yàn)
4 回答無法訪問home
1 回答如何處理呀
1 回答mac mamp訪問不了根目錄
1 回答查看不了當(dāng)前鏡像地址
2 回答輸入php artisan migrate命令回車的時(shí)候 ,出現(xiàn)could not find driver。環(huán)境wamp。
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2017-08-16
看看 有沒有 vendor目錄 ?沒有執(zhí)行
php composer.phar install //我的composer不是全局 如果錯(cuò)誤可能是缺少某些擴(kuò)展 請(qǐng)看提示安裝擴(kuò)展 再重復(fù)此操作 一般就好了?
?可能還會(huì)出現(xiàn)Runtime....錯(cuò)誤 可百度?
2017-04-13
我的虛擬機(jī) ifconfig出的ip+/laravel/public/ 可以訪問
但是nginx 配置 test.laravel.com 之后就訪問不了
server { ?
????listen 80; ??
??? server_name test.laravel.com; ??
??? root /data/html/laravel/public; ?
? ? index index.html index.php; ?
? ? location / { ? ? ??
???????????? try_files $uri $uri/ /index.php$is_args$query_string;
??? } ??
??? location ~ \.php$ { ? ? ??
????????????try_files $uri =404; ? ? ?
??????????? fastcgi_pass 127.0.0.1:9000; ? ? ?
? ? ? ? ?? fastcgi_index index.php; ? ? ??
???????????? fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; ? ? ?
? ? ? ? ?? include fastcgi_params;
? ?}
}
2017-03-16
路由定義出了問題