'Memcache' not found in command line PHP script

后端 未结 5 1597
不知归路
不知归路 2020-12-11 01:23

I have Memcache installed and working for PHP apps run through Apache (v2.2) but when I try to run a .php file in the command-line i get this error:

Fatal er         


        
5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-11 01:54

    It is possible that you have a separate php.ini file for CLI mode. This file might not include memcache extension.

提交回复
热议问题