Answer the question
In order to leave comments, you need to log in
Error when trying to call php artisan - what's the problem?
I enter the command: php artisan make:model CarMark
I get:
vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 233
php artisan
vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 233
Answer the question
In order to leave comments, you need to log in
There are two different versions of php: the one that runs as an Apache module, and the one that's in the CLI. In CLI, judging by your comment, version 5.6, you need to upgrade the console php.
The CLI php version can be checked by typing php -v in the console The php
version of your server can be checked by phpinfo or a similar function for your framework
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question