0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Got an error during Laravel project creation

Last updated at Posted at 2023-11-14

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 ↓

スクリーンショット 2023-11-14 230944.png

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

  1. Open the php.ini file by VSCode
  2. Remove ; from ;extension=zip →→→ extension=zip
  3. Run again composer create-project laravel/laravel laravel
  4. 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.

0
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?