H
H
HeartOfProgrammer2015-01-02 20:41:05
Laravel
HeartOfProgrammer, 2015-01-02 20:41:05

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:
ad85cbea716146bd808afad5e130c016.png
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.
50164039ec6c41a7a8b12f4f599cf147.png
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

2 answer(s)
S
Stanislav Pochepko, 2015-01-02
@HeartOfProgrammer

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.

G
Gregory, 2015-01-02
@difiso

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 question

Ask a Question

731 491 924 answers to any question