Introduction
Hi!
I'm Kallie, returned to Japan just a month ago and am currently studying programming. I've recently embarked on the journey of learning programming and would like to share my daily progress here. hope this will help improving my coding skills (and also be helpful for you!) Anyway, let's get started!
Today I learned
Setting up an environment for Laravel project.
Got an error during Laravel project creation
After installed PHP and Composer, run this command.
composer create-project laravel/laravel laravel
I got the error like this ↓
PHP is attempting to use the command internally when downloading Laravel, but it fails because it's not available. To resolve this, edit the php.ini file to enable the necessary extensions.
How to resolve
- Open the php.ini file by VSCode
- Remove ; from
;extension=zip
→→→extension=zip
- Run again
composer create-project laravel/laravel laravel
- That's it!
I feel like...
I still spend a lot of time resolving small and seemingly easy errors. I need to practice more, hoping to become faster at it.