Hrishikesh Choudhari Hrishikesh Choudhari - 5 months ago 54
PHP Question

how to install and run phpize

I have been meaning to install ffmpeg as an extension to my php setup. So before I can install it, I need to

phpize
it. I installed php5-dev by
sudo apt-get install php5-dev
But now when I run phpize I get the following error :

phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module


The location of my php.ini is
/usr/local/zend/etc/php.ini


From another online resource i tried this

sudo apt-get install autoconf automake libtool m4


But all of them are already installed.

Locate config.m4 didnt return anything.

Any pointers here how I can get phpize and thus, ffmpeg up and running ?

Answer

On Debian/Ubuntu, it's in the php5-dev package.

sudo apt-get install php5-dev
Comments