Miscellaneouss

What is SPF Record in DNS?

Sender Policy Framework (SPF) is used to indicate to mail exchanges which hosts are authorized to send mail for a domain. In simple word SPF is a security mechanism created to prevent

Read More

How To Install Java On CentOS 7

Java is a general purpose, high-level programming language developed by Sun Microsystems in 1995. Lots of application and websites that will not work unless you have Java installed. Java is fast, secure,

Read More

How To Enable and Disable PHP Error Logging Using .htaccess File

In this article I will describe how to configure PHP error logging with log_errors and error_log directives in .htaccess file. I assume that you have already set up a custom .htaccess file.

Read More

How To Enable Displaying PHP Errors On Site

Displaying the PHP error on websites is important and helpful for solving different problems. For example: -If blank page displayed instead of content on your site or -If you are getting 500

Read More

How To Increase PHP Script Execution Time With Nginx

Often you have seen the ” 504 Gateway Time-out ” error on your web page if you have large WordPress setup or a server with limited resources. You can fix this issue

Read More

Increase File Upload Size Limit In PHP-Nginx

If Nginx aborts your connections when you upload large files, you will get “[error] 25556#0: *52 client intended to send too large body:” error. Means you will need to increase PHP file-upload

Read More

How To Disable Automatic Update In WordPress

WordPress can automatically update your website including plugins and themes. There are slight chance that it can break your websites. For better security background auto updates were introduced in WordPress 3.7 version.

Read More

How To Set Or Change Username and E-mail In GIT?

If you are using GIT, I will suggest you to set username and e-mail so that you don’t need to set them every-time when you use GIT to do changes. In this

Read More

Clear/Delete/Flush Queued Mail In Sendmail

You can permanently delete all email messages in the Sendmail Mail Server (SMTP) queue using Linux command line. To check the summary of the queued mail messages you can use the mailq

Read More

How To Install PHP-GD On Ubuntu And Debian System

GD library is used to manipulate image file in PHP. You will need to install GD library for image functions to work. If you are using Apache web server with PHP 5

Read More

How To Prevent SQL Injection In PHP

These days attacking on the websites is normal issue for web server administrator. Attacker uses lots of methods to exploit your web server such as SQL Injections,File Injections, and Exploits etc.. In

Read More

How To Find Top 10 CPU Consuming Process In Linux/Ubuntu

In this article I will show you how you can find the top 10 CPU consuming process in Linux. As a system admin you always need to know which process is taking

Read More