Hrishikesh Choudhari Hrishikesh Choudhari - 1 year ago 344
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

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

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

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 Source

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

sudo apt-get install php5-dev
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download