Install PECL modules without the prompts

前端 未结 3 1082
滥情空心
滥情空心 2021-01-30 04:49

I just installed PHP on Ubuntu Natty from source.

I\'m trying to use PECL to install additional modules like APC and Memcache. I\'m using something like this:

         


        
3条回答
  •  既然无缘
    2021-01-30 05:21

    Obinwanne's Hill answer nailed it for me, so I'm not providing anything new here, but the following seems like the absolute shortest also without any fancy tools.

    echo '' | pecl install apc
    

提交回复
热议问题