When installing the Redis module with PECL under Mac, the prompt fails:
$ sudo pecl install redis
Package "redis" does not have REST info xml available
install failed
Try searching:
$ pecl search redis
File http://pecl.php.net:80/rest/p/packages.xml not valid (redirected but no location)
This mistake looks strange, what's going on? It used to be good, strange things. Search the Internet for a moment, find the following passage:
If anyone else has a similar problem, it is solved now, it‘s the firewall. For any reason, I can download files from the browser, and I can install or update packages by APT, but firewall is blocking PEAR downloads. I have added PEAR URL‘s to secured sites and now it‘s working.
See Firewall is blocking PEAR downloads, guess is the problem of a wall, open the VPN and try again OK.
But feel pecl of error hint also too strange, all see not quite understand.
This article title: PECL installation of the Redis module failed (redirected but no location)
Fixed link: http://www.tcode.me/article/78.html from Amoy code reprint please specify
PECL installation of the Redis module failed (redirected but no location)