Php_redis setup error

ayberk

Verified User
Joined
Apr 18, 2016
Messages
52
I need to install Php-Redis to enable Redis in the Litespeed Cache plugin. But I get this error during installation. What could be the problem?

I am using PRO PACK and Redis is installed. I just can't install Php-Redis.
 

Attachments

  • Screenshot 2023-09-23 at 00.18.49.jpg
    Screenshot 2023-09-23 at 00.18.49.jpg
    210.2 KB · Views: 10
It seems you're missing PHP 8.2 on the system, but you have it set in the options.conf file. Please build PHP first.
 
It seems you're missing PHP 8.2 on the system, but you have it set in the options.conf file. Please build PHP first.
But our site is working right now. And it says 8.2 in the php selector section.
 
But our site is working right now.
Still might be that php 8.2 is not installed properly or fully, because phpsize is missing and that should be present anyway.

Try rebuilding php 8.2 and see if that helps, check if the phpsize file is present after that. If yes, try the php-redis again.
 
Hello again

I tried reinstalling php 8.2 as you said, but it stops the process with an error in one place:

cc: fatal error: Killed signal terminated program cc1
compilation terminated.
*** The make has failed. Exiting...
make: *** [Makefile:1174: ext/fileinfo/libmagic/apprentice.lo] Error 1



I don't get such an error when installing PHP 8.1 but I want to use php 8.2. What do you suggest I do?
 

Attachments

  • Screenshot 2023-10-17 at 11.20.36.png
    Screenshot 2023-10-17 at 11.20.36.png
    587.6 KB · Views: 3
I use the following system: DigitalOcean, 2 GB Memory / 1 Intel vCPU / 70 GB Disk / Ubuntu 22.

Honestly, I don't know about the swap. I didn't make any settings when installing Directadmin. How can I change the swap space?
 
Back
Top