'Memcache' not found in command line PHP script

后端 未结 5 1603
不知归路
不知归路 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 02:05

    For simplicity sake I used:

    php -c /etc/php.ini ./cli-script.php
    

提交回复
热议问题