mac installation php-redis extension

1. Input: pecl install redis

Start the installation

 See successful to indicate that the installation was successful

2. View php -m to view the installed extensions

 

phpinfo, confirm the installation result

 

 Execute the program, done!

Guess you like

Origin blog.csdn.net/hechenhongbo/article/details/122171248