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.
为情所困2017-06-29 10:08:01
0
5
1099
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
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.
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? . .
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.
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? . .
Did you call redis from php? Is there something wrong with the call?
500 error, check the error log
Thank you everyone, the problem is solved