hihihihi
hihihihi

Reputation: 88

Enable artisan command LARAVEL

Im trying to create a table through migration but I can't create because it gives me an error like this bash: php: command not found. I searched through the net but still cant find the solutions. I found some useful information that when '*' are next to the command, the command is disabled. How can i enable it? Can someone help me about this?

Here's the picture

enter image description here

Upvotes: 1

Views: 185

Answers (3)

user8865860
user8865860

Reputation: 61

The command you entered was incorrect for creating migration. It must be like

php artisan make:migration your_migration_name

Upvotes: 0

Nested Conditional
Nested Conditional

Reputation: 36

either you do not have php on your machine, your local server did not run correctly

Upvotes: 2

RamAnji
RamAnji

Reputation: 470

php artisan make:migration create_tbl_payroll_leave_typev2_table

try dis command

Upvotes: 0

Related Questions