Home >Backend Development >PHP Tutorial >composer install 报错(Install or enable PHPs redis extension)

composer install 报错(Install or enable PHPs redis extension)

WBOY
WBOYOriginal
2016-07-28 08:26:383401browse

Error message

<code> Problem <span>1</span>
    - The requested PHP extension ext-redis * <span>is</span> missing <span>from</span> your system. Install <span>or</span> enable PHP<span>'s redis extension.</span></code>

Solution
Install and enable the redis extension

<code>$ sudo apt<span>-get</span> install redis<span>-server</span>
$ sudo apt<span>-get</span> install php5<span>-redis</span></code>

Other similar errors can be solved like this

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces the composer install error (Install or enable PHPs redis extension), including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn