我的意思是安装ffmpeg为我的PHP设置的扩展.所以在我安装它之前,我需要phpize它.我安装php5-dev了sudo apt-get install php5-dev.但是现在当我运行时,phpize我收到以下错误:
phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module
Run Code Online (Sandbox Code Playgroud)
我的php.ini的位置是 /usr/local/zend/etc/php.ini
从另一个在线资源我试过这个
sudo apt-get install autoconf automake libtool m4
Run Code Online (Sandbox Code Playgroud)
但所有这些都已经安装好了.
找到config.m4没有返回任何内容.
这里有什么指示我可以如何获得phpize并因此ffmpeg启动并运行?
我的开发计算机在Ubuntu 16.04上,我们使用php5.6。我按照本指南安装php5.6。
现在,我正在尝试通过PECL安装mongodb PHP驱动程序,但是当我运行时
pecl install mongodb
出现此错误:
Starting to download mongodb-1.1.8.tgz (806,900 bytes)
.....................................................done: 806,900 bytes
360 source files, building
running: phpize
sh: 1: phpize: not found
ERROR: `phpize' failed
Run Code Online (Sandbox Code Playgroud)
我通过这个问题发现我必须做
sudo apt-get install php5-dev
但是,php5-dev不再可用,并且显然不包含在ondrej的php5.6 PPA中。