ffmpeg

Install latest ffmpeg on ubuntu 12.04 or 14.04

Another way to install latest ffmpeg library on ubuntu 12.04 or 14.04.

Courtesy: Github

OR

 

Read More

Avoid mail direction to spam or junk folder – Zend PHP

Here, I’m just giving a solution to avoid mail direction to ‘spam’/ ‘junk’ folder while sending the mail using Zend_Mail(). Please see below,

 

Read More

Hide PHP and Apache web server versions from response header

Normal PHP & Apache installations won’t hide the server details from request response headers. See below [with default configuration],

rsz_1screenshot_from_2013-10-11_071725

To hide PHP & Apache web server version details from response headers, you have to edit few configuration files on your hosted server.

 

 

After made the above changes, restart the apache web server.

 

Now check the response header from your server,

rsz_screenshot_from_2013-10-11_082700

See the difference between the response headers before and after changing the configurations.

Note: These changes won’t made your server more secure. It is just hiding the configuration details from hackers.

 

Read More

Copy command in Ubuntu – different usages

Here, we can see the different usages of ‘copy’ command in Ubuntu. Use the following commands in Terminal.

 

 

 

Read More

Export all procedures alone from mysql via terminal

This is a easiest way to export all procedures alone from specified database through Terminal. Using mysqldump we can do this. General syntax of the command is as follows,

After enter the command in Terminal press ENTER, then the Terminal will prompt to enter database password where you have to provide the database password. Then you can check the path which you specified to save the .sql file. In the specified path you can see the export file.

Read More