Skip to content

Installation on Mac OSX

Chung Leong edited this page Jun 16, 2013 · 2 revisions

The recommend method for installing the AV extension is through Homebrew.

##Compiling AV using Homebrew

In a Terminal window, enter the following command:

brew install https://raw.github.com/chung-leong/av/homebrew/php-av.rb

If FFmpeg is not installed, Homebrew will download all the necessary files and build it. The process can take around half an hour.

When the build process finishes, create a symbolic link to /usr/local/Cellar/php-av/1.1/av.so in the PHP extension folder. Add the contents of av.ini to php.ini to activate the extension.