Home >Backend Development >PHP Tutorial >composer install 报错(Install or enable PHPs redis extension)
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.