尊龙凯时人生就是博

laravelÈ«¾Ö×°ÖÃʧ°ÜÔõô½â¾ö

laravelÊÇÒ»¿îÊ¢ÐеÄphp¿ò¼Ü£¬ÓÃÓÚ¿ª·¢webºÍapiÓ¦ÓóÌÐò¡£Ö»¹ÜÆäÊܽӴýˮƽһֱÔöÌí£¬µ«ÓÐʱÎÒÃÇ¿ÉÄÜ»áÓöµ½È«¾Ö×°ÖÃlaravelʱÓöµ½µÄÎÊÌâ¡£³£¼ûµÄÎÊÌâ°üÀ¨×°ÖÃÀú³ÌÖб¬·¢¹ýʧ¡¢ÐèÒªÖÎÀíԱȨÏÞ¡¢È±ÉÙÆäËûÈí¼þ°üµÈ¡£±¾ÎĽ«ÌÖÂÛÕâЩÎÊÌ⣬²¢Ìṩ½â¾öÒªÁì¡£

ÏȾöÌõ¼þ

ÔÚÌÖÂÛÕâЩÎÊÌâ֮ǰ£¬ÈÃÎÒÃÇÏÈÌÖÂÛһЩLaravelÈ«¾Ö×°ÖõÄÏȾöÌõ¼þ¡£Ê×ÏÈ£¬ÄúÐèҪװÖÃ×îа汾µÄPHP¡£½¨ÒéʹÓÃ7.1»ò¸ü¸ß°æ±¾¡£Äú»¹ÐèҪװÖÃcomposer¡£ComposerÊÇPHPµÄ°ü¹ÜÀíÆ÷£¬¿ÉÒÔÇáËÉ×°ÖÃLaravel¼°ÆäÒÀÀµÏî¡£×îºó£¬ÄúÐèÒªÌí¼ÓComposerµ½È«¾ÖpathÖС£ÕâÐèÒªÔÚϵͳÇéÐαäÁ¿Öб༭PATH±äÁ¿ÒÔ°üÀ¨ComposerµÄ·¾¶¡£

¹ýʧװÖÃLaravel

ÈôÊÇÄúʵÑéÈ«¾Ö×°ÖÃLaravel£¬µ«×°ÖÃÀú³ÌÖзºÆð¹ýʧ£¬ÔòÐèÒª¼ì²éPHPºÍComposer°æ±¾ÊÇ·ñÖª×ãÒªÇó¡£Äú»¹Ó¦¸Ã¼ì²éÄúÊÇ·ñ¾ßÓÐ×ã¹»µÄȨÏÞÀ´×°ÖÃÈí¼þ°ü¡£ÈôÊÇÄúʹÓõÄÊÇWindowsÎÞ·¨×°ÖÃLaravel£¬Ôò¿ÉÄÜÐèÒªÓÒ¼üµ¥»÷ÏÂÁîÌáÐÑ·û²¢Ñ¡Ôñ¡°ÒÔÖÎÀíÔ±Éí·ÝÔËÐС±£¬ÒÔ»ñÈ¡ÖÎÀíԱȨÏÞ¡£

ÈôÊÇÄúÔÚÈ«¾Ö×°ÖÃLaravelʱ·ºÆðÒÔϹýʧ£º

Composer failed to download

»ò

failed to open stream: Permission denied

ÄÇôÄú¿ÉÄÜÐèÒª¸üÐÂComposer¡£Äú¿ÉÒÔʹÓÃÒÔÏÂÏÂÁîÀ´¸üÐÂComposer£º

composer self-update

Ìí¼ÓComposerµ½È«¾Öpath

ÔÚWindowsϵͳÉÏ£¬Äú¿ÉÒÔ°´ÈçÏ°취ÔÚÈ«¾ÖpathÖÐÌí¼ÓComposer£º

1.·­¿ª¡°¸ß¼¶ÏµÍ³ÉèÖá±(Advanced System Settings)

2.ÕÒµ½¡°ÇéÐαäÁ¿¡±(Environment Variables) ²¢·­¿ª

3.ÔÚ¡°ÏµÍ³±äÁ¿¡±(System Variables)Ñ¡ÏÖÐÕÒµ½¡°PATH¡±±äÁ¿£¬²¢µã»÷¡°±à¼­¡±(Edit)

4.ÔÚ±äÁ¿ÖµÖÐÌí¼ÓComposerµÄ·¾¶¡£ÀýÈ磺C:\Users\username\AppData\Roaming\Composer\vendor\bin

5.µã»÷¡°OK¡±²¢ÉúÑĸü¸Ä

×°ÖÃȱ°±ÉÄÒÀÀµÏî

ÈôÊÇÄúʵÑéÈ«¾Ö×°ÖÃLaravelµ«Composer±¨¸æȱÉÙÒÀÀµÏÔò¿ÉÒÔ½«ÕâЩÒÀÀµÏîÊÖ¶¯×°Öõ½ÄúµÄϵͳÖС£ÔËÐÐÒÔÏÂÏÂÁî»á½«ËùÐèµÄÈí¼þ°üÏÂÔص½Ä¿½ñĿ¼ÏµÄvendorÎļþ¼ÐÖУº

composer global require “laravel/installer”

ÈôÊÇÄúÔÚÔËÐÐÏÂÁîʱÓöµ½Èκιýʧ£¬Çëƾ֤¹ýʧÐÂÎżì²éÄúµÄPHP°æ±¾¡¢Composer°æ±¾ºÍÎļþ¼ÐȨÏÞ¡£

ÈôÊÇÄúÒÑÊÖ¶¯×°ÖÃLaravel£¬Ôò¿ÉÒÔÌø¹ýÈ«¾Ö×°Öð취²¢ÔÚÏîÄ¿Îļþ¼ÐÖÐʹÓÃÒÔÏÂÏÂÁî×°ÖÃLaravel£º

composer require laravel/installer

×ܽá

ÔÚ±¾ÎÄÖУ¬ÎÒÃÇÌÖÂÛÁËÈ«¾Ö×°ÖÃLaravelʱÓöµ½µÄһЩÎÊÌâ¡£ÕâЩÎÊÌâ¿ÉÄÜ°üÀ¨×°Öùýʧ¡¢ÐèÒªÖÎÀíԱȨÏÞ¡¢È±ÉÙÆäËûÈí¼þ°üµÈ¡£Îª½â¾öÕâЩÎÊÌ⣬ÐèҪȷ±£ÄúµÄϵͳ֪×ãLaravelÈ«¾Ö×°ÖõÄÏȾöÌõ¼þ£¬²¢×ñÕÕÊÖ¶¯×°ÖÃLaravel¡¢¸üÐÂComposerºÍÌí¼Ó·¾¶µÈ°ì·¨¡£Íê³ÉÕâЩ°ì·¨ºó£¬ÄúÓ¦¸ÃÄܹ»ÀֳɵØÈ«¾Ö×°ÖÃLaravel£¬²¢Ê¹ÓÃComposerÇáËɸüкÍÖÎÀíËü¡£

ÒÔÉϾÍÊÇlaravelÈ«¾Ö×°ÖÃʧ°ÜÔõô½â¾öµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í尊龙凯时人生就是博ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ尊龙凯时人生就是博ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ尊龙凯时人生就是博

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎ壬9:30-18:30£¬½ÚãåÈÕÐÝÏ¢

QR code
sitemap¡¢ÍøÕ¾µØͼ