Technology Archive

18 Aug 2015

Convert a putty ppk file to a pem file

Recently, I am working on the AWS project, so I have to access AWS EC2 instance. ppk file was provided me to connect it, But I have to connect it with Linux machine so I required pem
9 Aug 2015

How to configure Master-Slave MySQL Replication on CentOS/RHEL 5/6/7

MySQL replication is a procedure that permits you to easily keep up multiple copies of a MySQL data by having them replicated consequently from an master to a slave database. This can helpful for some reasons including
4 Aug 2015

Ago function in PHP

We always required time ago in our website. Here we have function for the same. You can enjoy with the embed in your website. Example of Ago function in PHP as below $datetime = '2015-07-31 22:00:00'; $time
31 Jul 2015

How to Check Memory Usage on CentOS/RHEL

Linux has different set of commands to check the usage of memory. The free command shows the total amount of free and used physical and swap memory in the system, as well as the buffers used by
30 Jul 2015

No space left on CentOS/RHEL Server

Sometime you Can’t write to the hard disk on a Linux or Unix-like systems? or in other words we can say that we face issue “No space left on device”, although partition was not nearly full. So
29 Jul 2015

PHP mail function

This PHP mail function script has the ability to send a plain text email message. There are much better and more advanced PHP scripts on the Internet, but I hope this example will help you to understand,
27 Jul 2015

How to install xCache on CentOS/RHEL 5/6/7

XCache is a quick, stable PHP opcode cacher. This generally new opcode caching software has been produced by mOo. XCache optimizes performance caching the compiled state of PHP scripts into the RAM and uses the compiled version
24 Jul 2015

Send email using PHP Script with Gmail SMTP Authentication

All the programming languages provides functions for sending emails. PHP also provides mail() function to send emails. You can use the PHP mail() function to send an email with PHP. The simplest way to do this is
23 Jul 2015

Location of cPanel Log Files

cPanel logs most activity that happens on a server to log files so you can go back and audit log entries for issues, rather than must be on the server at the season of them happening. In
22 Jul 2015

How to Secure phpMyAdmin with .htaccess

While many users require the usefulness of a database administration system like MySQL, they may not feel great communicating with the system exclusively from the MySQL prompt. phpMyAdmin was made so user can cooperate with MySQL through