Step - 1: If you are unsure about the php version installed, then first run the following command in terminal php -v Output: the above command will output the php version installed on your machine, mine is 7. This might help someone on ubuntu.
No promises. Of course in PHP7. I had this exact problem on macOS in Get answers to millions of questions and give back by sharing your knowledge with others. Sign up for an account. Close Sign up. Find centralized, trusted content and collaborate around the technologies you use most.
Connect and share knowledge within a single location that is structured and easy to search. 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 :. Any pointers here how I can get phpize and thus, ffmpeg up and running? Now look if the config. Go to that folder and run phpize directly in there. Step - 1: If you are unsure about the php version installed, then first run the following command in terminal.
Output: the above command will output the php version installed on your machine, mine is 7. Step 2: Then to install phpize run the following command, Since my php version is 7. Alternate method Optional : To automatically install the phpize version based on the php version installed on your machine run the following command. This command will automatically detect the appropriate version of php installed and will install the matching phpize for the same.
If you're having problems with phpize not found on CentOS7. For instance, if you wanted to use the "phpize" command for PHP 5. For ubuntu with Plesk installed run apt-get install plesk-phpdev , for other versions just change XX in phpXX without the dot. For me, first running brew install php before sudo pecl install mongodb did the trick.
Alternatively, instead of relying on an external non-official PHP extension albeit one that is both popular and updated regularly! This is the officially recommended approach , mostly because converting videos always takes a long time, and the authors of that recommendation suggest a simple architecture where the PHP script basically launches ffmpeg in the background, accepting batches of videos for processing. The page is a bit old, but the technique shown is sound.
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How to install and run phpize Ask Question. Android Room database - Delete rows after row limit? Unload javascript file when modal dialog is closed. Node server :remote-addr displayed local IP X when accessed from python-requests. How do I include other files in PHP?
But now when I run phpize I get the following error : phpize Cannot find config. Locate config. For ubuntu In Ubuntu This might help someone on ubuntu. No promises. Of course in PHP7. Go to the downloaded folder and there you find config. Open the terminal and run phpsize. I had this exact problem on macOS in
0コメント