Install  Twilio with CakePHP

1) GOTO CakePHP project folder

Run below command on command prompt:

(this will install Twilio in you cakephp vendor folder)

2) Now start Testing Twilio with CakePHP

add this line in your controller

3) Add below action to send message


4) Now access the sendMessage action in your browser of your project.

5) Note below step


Git clone push,  pull add and commit to git repository using git bash

To Create Repository at local

Git Commands



How to configure cakephp3 using composer?

1) Make sure following extension in enabled in you php.ini


Goto Your PHP bin folder of you xamp/wamp


Also Note: CakePHP require PHP5.6 and above to run.

2)Run The following command from Command Prompt one by one


3)Now Copy the  composer.phar which is recently genrated goto Your Project dir and paste the comoser.phar here.

4) Now go to just above project dir using command prompt. C:\xampp\httpd\


Once Composer finishes downloading the application skeleton and the core CakePHP library. All your project will be under

5) now goto C:\xampp\htdocs\cake-demo\bin and run the following commmand:

your first cakephp up and running at following http://localhost:8765/

Following are the X-Frame-Options which we can use:

X-Frame-Options: DENY
X-Frame-Options: SAMEORIGIN
X-Frame-Options: ALLOW-FROM

But in our case X-Frame-Options: ALLOW-FROM will work. but this option is not compatible with all browser.

So other way is Content-Security-Policy

# Allow specific origins to embed this content
Content-Security-Policy: frame-ancestors

Other use full link as below to implement “Content-Security-Policy”

How to copy files from  blob storage account to another using AzCopy:

1) Download the Following lib and install it on your system:

Download AzCopy Lib

2) Go To installed location in my case it was D:\AzCopy>

3) Syntax






1) Download and Install the azure copy LIB from following URL on windows


2) Extract the zip and copy it to any location on you windows go that location.
In my case it was


3) Add the keys in “azurecopy.exe.Config” for following :


4) Try the following command It will list bucket content

Copy all data from One S3Bucket to Azure BLOB

 Working Example



Wowza Web Development Tips And Tricks

Wowza Web Development Tips And Tricks

How to Import An Existing SSL Certificate and Private Key

Open a command line prompt and change directory to [wowza-install-dir]/conf.

Execute the following command to convert the existing signed certificate and key files to a .p12 file:


Import the certificate to the keystore

1 Import the .p12 file to a keystore (.jks) by executing the following command:


Execute the following command to import the ca_bundle file into the keystore: (following Dose not work in my case but certificate worked)


Configure a <HostPort> to use the certificate

Open the [install-dir]/conf/VHost.xml file in a text editor and make the following changes:

Uncomment the <HostPort> definition for port 443. This entry follows the comment <!– 443 with SSL –>. Be sure to remove the comment before <HostPort> and after </HostPort>.

Set the value SSLConfig / KeyStorePath to:


Set the SSLConfig/KeyStorePassword to the key store password entered above.

Restart your Wowza Streaming Engine.

 Test the certificate and the Wowza Streaming Engine configuration

For example, assuming the localhost IP address is, add the following lines to the etc/hosts file:

Then check “successfully bonded to port 443″ in wowza access log.

and you can access your domain by using

enjoy 🙂


Parse JSON Object / Javascript object Parsing


Live Stream Black Screen in Google Chrome You need to Turn Off Hardware Acceleration in Google Chrome

Step 1: Open Google Chrome.

Step 2: Click on Menu Button (top right corner).

Step 3:Click Settings near the bottom of the menu.

Step 4: Click on Advance Setting at End.

Step 5: Go to System where its says : Use hardware acceleration when available Uncheck it.

Check Your Live stream it will work without Black scree. 🙂