You are not logged in.

#1 2015-06-20 18:46:03

jsalk
Member
Registered: 2015-06-20
Posts: 18

php-fpm fail - no redis.so (SOLVED)

I am by no means an expert, but have set up many php systems on both windows and other linux distros over the years with little trouble.  But I have spent at least a week trying to sort this situation.  I can't get php or php-fpm up and running.  I've googled this problem and tried all kinds of modifications to php.ini and a number of related conf files, all to no avail.

Using systemctl to start php-fpm.service results in the following error:

-- Unit php-fpm.service has begun starting up.
Jun 20 14:36:15 splayer php-fpm[502]: [20-Jun-2015 14:36:15] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/redis.so' - /usr/lib/php/modules/redis.so: cannot open shared object file: No such file or directory
Jun 20 14:36:15 splayer php-fpm[502]: Sat Jun 20 14:36:15 2015 (502): Fatal Error Zend OPcache cannot allocate buffer for interned strings
Jun 20 14:36:15 splayer systemd[1]: php-fpm.service: main process exited, code=exited, status=254/n/a
Jun 20 14:36:15 splayer systemd[1]: Failed to start The PHP FastCGI Process Manager.
.

Even though the redis service is running properly, no redis.so file was created and I have no been able to find any way of creating one.

Any ideas would be very much appreciated.

- Jim

Last edited by jsalk (2015-06-22 11:52:42)

Offline

#2 2015-06-29 11:19:05

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,883
Website

Re: php-fpm fail - no redis.so (SOLVED)

Debian isn't Arch, please ask on the debian forums.

https://bbs.archlinux.org/viewtopic.php … 6#p1540466
https://wiki.archlinux.org/index.php/Fo … pport_ONLY

Closing, for deletion.

EDIT: Topic restored following discussion with jsalk.

Last edited by WorMzy (2015-06-29 16:12:11)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2015-06-29 16:45:00

jsalk
Member
Registered: 2015-06-20
Posts: 18

Re: php-fpm fail - no redis.so (SOLVED)

The solution here was quite simple.

I had uncommented the "extension=redis.so" line in the PHP 5.6.10 php.ini file thinking that this was necessary in order to use the redis.service with PHP.  But that extension didn't work since there is no redis.so file created with redis-3.0.2-1.  The extension is not required in PHP 5.6.10, so re-commenting that extension solved the issue.

- Jim

Last edited by jsalk (2015-06-29 16:45:37)

Offline

Board footer

Powered by FluxBB