Instalação do FFMPEG-PHP no PHP 5.4+

No PHP 5.4 ou superior, é retornado o seguinte erro na compilação: /usr/local/install/ffmpeg-php-0.6.0/ffmpeg_tools.c: In function ‘ffmpeg_img_convert’: /usr/local/install/ffmpeg-php-0.6.0/ffmpeg_tools.c:79: warning: passing argument 2 of ‘sws_scale’ from incompatible pointer type /usr/include/libswscale/swscale.h:195: note: expected ‘const uint8_t * const*’ but argument is of type ‘uint8_t Leia mais…

Download Oracle JDK via wget

Para não esquecer: # rpm wget –no-cookies \ –no-check-certificate \ –header “Cookie: oraclelicense=accept-securebackup-cookie” \ “http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.rpm” \ -O jdk-7-linux-x64.rpm # tar.gz wget –no-cookies \ –no-check-certificate \ –header “Cookie: oraclelicense=accept-securebackup-cookie” \ “http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.tar.gz” \ -O jdk-7-linux-x64.tar.gz