Answer the question
In order to leave comments, you need to log in
Where is the error in the php extension?
I'm trying to create a controller for laravel 5 through artisan. But when creating it, I get the following error:
I read it on the Internet, I found out what is connected with this. Enabled extensions in PHP. I try to create again
, still no result.
And the error is that you need to enable this extension in PHP
. But I have it enabled.
PS I ask the guys to help the poor fellow, who has been sitting on this for 1 month already.
Answer the question
In order to leave comments, you need to log in
You have an interpreter from the 5.5 folder in your PATH variable. And extensions, these extensions are connected in the interpreter in the 5.6-5.7 folder. Either specify the folder with the 5.6-5.7 interpreter in the PATH variable and reboot or enable these extensions in the 5.5 config. It seems to be mbstring or mbcrypt.
Read the error: Undefined function call mb_internal_encoding
. This means that the extension is not connected mb_string
. And no, you don't have to stupidly do what is written on the php.net site in the examples section. You need to read the Laravel documentation and understand that you need to enable the OpenSSL
, PDO
, Mbstring
, Tokenizer
. And you can check whether they are enabled or not with the command php -m
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question