search

Home  >  Q&A  >  body text

php - tp3.2 uses memcache extension and reports error 502

1. Environment: mac nginx php-fpm

2. PHP’s memcache extension has been installed

3. Use memcache in the code

4. Access in the browser

5. nginx error log

Have any brothers encountered this kind of problem? I've been working on it for a long time and can't find the reason.
The memcache server is built on another Linux server. It can be accessed normally and other sites are in normal use.
Personal judgment It should be a problem with my personal configuration environment.

巴扎黑巴扎黑2700 days ago878

reply all(3)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-07-05 10:00:28

    It’s probably a version issue, so I’ll try the next memcache extension. . .

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-07-05 10:00:28

    The visual inspection is that the php-fpm service is abnormal, and the program has not reached the PHP stage at all

    reply
    0
  • 大家讲道理

    大家讲道理2017-07-05 10:00:28

    Try to access a page that does not operate memcache and see if the error is still reported

    reply
    0
  • Cancelreply