0

enter image description here

Tried upgrading to PHP 8.1.8 and then made changes to php.ini file for "extension_dir" but it's giving me the above error.

I do not understand how to resolve this. can Anyone help me out here?

JON
  • 965
  • 2
  • 10
  • 28
  • you can find solution to solve this error in [this page](https://stackoverflow.com/questions/33994039/phpredis-extension-doesnt-work-unable-to-load-redis-so) – Aryan Hasanzadeh Aug 02 '22 at 09:48

1 Answers1

1

Okay, so I'm new to PHP and had to figure out understanding the error for quite a longer time than required.

The problem was basically I had uninstalled redis extension (through pecl) and simply installed redis again using brew.

So then, I installed redis extension through pecl using arch -arm64 sudo pecl install redis and was good to go.