Install SSL Letsencrypt on Wowza Server HLS Stream

I am running webserver / domain on HTTPS and Wowza Media Streaming Server on HTTP (Non-SSL) so I am getting Error for LIVE / VOD HLS stream Files “Cannot load M3U8: Unable to fetch HTTP resource over HTTPS” #FridayFeeling Install #SSL Letsencrypt on #Wowza Server HLS Stream #Nginx https://t.co/lizrbxtx4M pic.twitter.com/DUJPGkQ1QU — HTML5 Player ♫ ♪ … Read more

Convert AWS DynamoDB Table JSON to Simple PHP Array or JSON

Amazon DynamoDB support these datatype for data – String – Binary – Number – StringSet – NumberSet – BinarySet – Map – List – Boolean – Null AWS provides command line tool to SCAN DynamoDB Tables and export as JSON file # /usr/local/bin/aws dynamodb scan –table-name Users –query ‘Items[*]’ –region us-east-1 –output json Amazon DynamoDB … Read more

Install SSH2 Extension for PHP 7 on CentOS 7

Install gcc, php71w-devel, libssh2 and libssh2-devel on CentOS 7 # yum install gcc php71w-devel libssh2 libssh2-devel Download php7 pecl-networking-ssh2 # wget https://github.com/Sean-Der/pecl-networking-ssh2/archive/php7.zip Unzip and Change folder # unzip php7.zip # cd pecl-networking-ssh2-php7 Building environment for SSH2 extension # phpize # ./configure Make SSH2 extension make sure build success # make Install SSH2 extension # make … Read more

Install Ruby Slate NodeJS on CentOS 7

Slate is Beautiful static documentation for your API Required – Linux or OS X or Windows – Ruby version 2.3.1 or newer – NodeJS – Bundler — gem install bundler # cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) Install Ruby 2.4 – CentOS 7 # yum update # yum groupinstall “Development Tools” # yum install … Read more

PHP Parse HLS M3U8 TS Links

Sometimes you have to grab HLS m3u8 files from external source, but those files are protected using domain lock. So somehow you need to grab m3u8 and ts files from master HLS link. I am providing you PHP HLS Parser to grab internal information of HLS streams. Input encoded-03-31-16-thu-jun-2017.m3u8 #EXTM3U #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=654000,RESOLUTION=568×320,CODECS=”avc1.4d0029,mp4a.40.2″ 1080p/encoded-03-31-16-thu-jun-2017.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2849000,RESOLUTION=568×320,CODECS=”avc1.42001f,mp4a.40.2″ 720p/encoded-03-31-16-thu-jun-2017.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1033000,RESOLUTION=568×320,CODECS=”avc1.42001e,mp4a.40.2″ … Read more

PHP in Amazon Lambda

Clone or Download this GitHub Repo https://github.com/svnlabs/aws-lambda-php-template Make new folder lambda in current working directory of EC2 server # mkdir lambda Upload 2 files from zip to Amazon EC2 server Instance in folder lambda lambda – index.js – php (binary) index.js ‘use strict’; exports.handler = function(event, context, callback) { var exec = require(‘child_process’).exec; exec(‘./php -v’, … Read more

Free SSL Certbot

Certbot, It was Let’s Encrypt Client previously. Automatically enable HTTPS on your website with EFF’s Certbot, deploying Let’s Encrypt certificates. Server Support – Apache – Nginx – Haproxy – Plesk OS Support – Web Hosting Service – Debian 7 (wheezy) – Debian 8 (jessie) – Debian 9 (stretch) – Debian testing/unstable – Debian (other) – … Read more

PHP Warning: PHP Startup: Unable to load dynamic library /usr/lib64/php/ modules/zip.so

CentOS 7 with PHP # php –ini PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/zip.so’ – /usr/lib64/php/modules/zip.so: undefined symbol: php_pcre_exec in Unknown on line 0 Configuration File (php.ini) Path: /etc Loaded Configuration File: /etc/php.ini Scan for additional .ini files in: /etc/php.d Additional .ini files parsed: /etc/php.d/10-opcache.ini, /etc/php.d/20-bcmath.ini, /etc/php.d/20-bz2.ini, /etc/php.d/20-calendar.ini, . . . Install … Read more

Install Apache, MySQL, PHP 5.6 on Centos 7

Install Apache # yum update # yum install httpd # systemctl start httpd.service Now Browser your Apache Server http://Server_IP_address/ Enable Apache to start at server boot # systemctl enable httpd.service Install Mariadb MySQL # yum install mariadb-server mariadb # systemctl start mariadb # mysql_secure_installation Enable MySQL to start at server boot # systemctl enable mariadb.service … Read more