search

Home  >  Q&A  >  body text

php - The Lamp website environment and Redis are installed on the same server. As long as the Redis service is started, the website cannot be opened immediately.


The website can be accessed, but as soon as I output the command redis-server to start the redis service, the webpage will not work properly

Please give me some solutions, Crab

为情所困为情所困2765 days ago1104

reply all(5)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-06-29 10:10:01

    It seems that you have enabled Redis persistence. You can try turning off persistence.
    In addition, for Redis 2.2, even if the persistence configuration is turned off, data will still be saved to the hard disk. If it is Redis 2.2, it is recommended to upgrade.

    This may not be a solution, just a possible cause of the problem. The log you posted seems to be a Redis log. It is recommended to also send the Apache error log to facilitate more detailed processing.

    reply
    0
  • 三叔

    三叔2017-06-29 10:10:01

    Redis is placed on the external network, so you are not afraid of being hacked. . . Isn’t it true that Redis data storage disk takes up too many resources? . .

    reply
    0
  • 扔个三星炸死你

    扔个三星炸死你2017-06-29 10:10:01

    Did you call redis from php? Is there something wrong with the call?

    reply
    0
  • 学习ing

    学习ing2017-06-29 10:10:01

    500 error, check the error log

    reply
    0
  • 大家讲道理

    大家讲道理2017-06-29 10:10:01

    Thank you everyone, the problem is solved

    reply
    0
  • Cancelreply