phpredis on fedora 12

前端 未结 2 1839
太阳男子
太阳男子 2021-01-22 00:59

I am trying to install phpredis to work with my php. But the thing is, every time I try to get it to work, my error_log sends this error:

[code]PHP Fatal error: Class \

相关标签:
2条回答
  • 2021-01-22 01:48

    I got it to work.

    I had to give the full path in php.ini, restarted httpd and voila it works :D

    0 讨论(0)
  • 2021-01-22 02:01

    specifically, created a redis.ini:

    $ cat /etc/php5/apache2/conf.d/redis.ini 
    ;configure the redis module
    extension=redis.so
    

    I filed a github issue, hopefully they'll make it create the ini automatically, or at least explain in the install instructions: https://github.com/owlient/phpredis/issues/94

    0 讨论(0)
提交回复
热议问题