Articles

Creating PHP info files

A) Open a simple text editor like notepad and enter the following:...

Add a command/binary to CageFS

What is CageFS?CageFS is a virtualized file system and a set of tools to contain each user in its...

Add your own php.ini file to the crontab command

If you want to use your own php.ini in the implementation of cronjobs, add the following to the...

Apache Configuration Structure

Directory and Options   The <Directory> block refers to a directory within the filesystem...

Apache Performance Tuning Tips

1. Remove Unused Modules  Save memory by not loading modules that you do not need, including but...

Basics Apache Configuration

Apache Basics The default configuration of Apache varies significantly between various...

Becoming Familiar with Databases in phpMyAdmin

To get familiarise with databases in phpMyAdmin, first of all, log in to phpMyAdmin and then...

Can I use short tags in PHP scripts

Yes! you can. The settings of PHP (short_open_tag) allow you to use short tags in PHP scripts. 

Configure mod_evasive to Help Survive DoS/DDoS Attacks

mod_evasive is a module for Apache that provides evasive action in the event of an HTTP...

Copying a Database Table with phpMyAdmin

To copy a database table in phpMyAdmin, login to phpMyAdmin and then follow this steps. 1. In...

Creating Tables in a Database with phpMyAdmin

To create tables in a database in phpMyAdmin, first log in to phpMyAdmin and do the same: 1....

Deleting Fields from Database Tables with phpMyAdmin

To delete fields from database tables in phpMyAdmin, first log in to phpMyAdmin and then follow...

Deleting Tables in a Database with phpMyAdmin

To delete tables in a database in phpMyAdmin, first, log in. 1. From the left-hand side, select...

Disable TRACE or TRACK method in Apache web server

If you like to keep your VPS hosting server or dedicated server secure you may need to disable...

Error 503 on PHP websites when LiteSpeed is used

Issue symptoms Sometimes PHP websites return Error 503 page when LiteSpeed is used; however,...

Errors relating to Magic Quotes

If your getting error messages relating to "Magic Quotes" when using or programming in PHP, or...

Execution of HTML as PHP

To be able to handle php script in .html file , you need to add the following in the .htaccess...

Exporting Databases and Tables with phpMyAdmin

To export databases and tables in phpMyAdmin, first log in and follow the steps: 1. To export a...

How To upgrade PHP in InterWorx Server

You can upgrade PHP in InterWorx using the Remi repo. The available PHP versions are PHP 5.4, PHP...

How to Configure ModSecurity on Apache?

Install ModSecurity:   Ubuntu/Debian sudo apt install libapache2-modsecurity   Restart...

How to Enable HTTP/2 in Apache Web Server

Hypertext Transfer Protocol Version 2 (HTTP/2) is the latest version of the HTTP protocol,...

How to Hide the Apache Version Number?

It is possible to hide apache web server version and other information. This is done for...

How to Install Apache Cassandra on Ubuntu 17.04 and CentOS 7?

The Cassandra NoSQL database is ideal for situations requiring maximum data redundancy and...

How to Install Apache Cassandra on Ubuntu 18.04 and CentOS 7

The Cassandra NoSQL database is ideal for situations requiring maximum data redundancy and...

How to Install DSO With mod_ruid2 Using EasyApache 4?

DSO stands for Dynamic Shared Object. If you want to increase your website or web app's speed,...

How to Install the PHP GeoIP Extension?

GeoIP introduces to the way of establishing a computer terminal’s geographic location by...

How to do URL redirection

You can do URL forwarding from the web hosting control panel. Once logged in click on Redirects....

How to enable ODBC on EasyApache 4?

1. First, install the PHP PDO_ODBC module in EA4. 2. Then we have to install Microsoft SQL...

How to fix Apache Too many connections issue?

The reasons are the following: – Unoptimized Apache settings The default settings of Apache...

How to increase PHP memory limit

If you like to increase the PHP memory limit in any folder you just create a file called php.ini....

How to increase the size of uploaded files in PHP

The standard maximum size of the file that you can upload in PHP is 2MB, but some scripts require...

How to install Magento from Softaculous

Step 1: Log into cPanel.Step 2: Click on Softaculous Apps Installer in the Software section.Step...

How to restore PHP Selector options after restore or migration?

For restoring PHP Selector options and alternate PHP version from the backup (example user...

How to turn off register_globals in PHP

In each directory where you want register_global to be turned off, place the following php.ini...

How to use Apache mod_rewrite

To enable mod_rewrite, it is necessary to add the following in the beginning of the .htaccess...

Importing Databases and Tables with phpMyAdmin

To import databases and tables in phpMyAdmin, first, log in to phpMyAdmin. 1. To import a saved...

Inserting Fields into Database Tables with phpMyAdmin

To insert fields into database tables in phpMyAdmin, first log in and follow the steps: 1....

Internal Server Error or Error 500

The server encountered an internal error or misconfiguration and was unable to complete your...

Managing Resources with Apache mod_alias

In many cases, all of the resources served by an Apache host are located in that host’s...

Modifying Fields in Database Tables with phpMyAdmin

To modify fields in database tables, first log in to phpMyAdmin and then follow the below steps:...

Options, IndexOptions, DirectoryIndex, ErrorDocument with .htaccess

1. Authorization and prohibition on listing the content of the folderWhen you open a website...

PEAR Mail settings

Right, so your wanting to use PEAR for mail sending, but are having problems after installing...

PHP Compiled as? (Problems with files)

PHP5 Servers:-------------------------------ALL of our PHP5 servers have PHP compiled as CGI with...

PHP Warning: Cannot modify header information – headers already sent

It’s a common issue on the sites, PHP Warning: Cannot modify header information – headers already...

PHP http module

We don't allow the use of "PHP http module" because it's not supported by cpanel. Installing...

PHP modules installed on the web hosting

Normally the web hosting servers have a standard installation of the following PHP modules:...

PHP parsing of files with HTML extension

In order to parse PHP files with a .html extension, you will need to create a .htaccess file and...

PHP upload limit

You can change the upload limit for your domain yourself by adding a php.ini file in the...

PHP version

You can see the version of PHP when you log in your Web Hosting control panel and select “Server...

Path to PEAR and PEARDB

Your path to PEAR on all servers is: /home/cpanelusername/php (Replacing "cpanelusername" with...

Perl version & Path to Perl & Sendmail

If you need to find out the Current Versions and Paths to both Perl and Sendmail then simply log...

Permissions of the PHP files

To avoid problems, it is best to set the permissions of PHP scripts to a maximum of 755.

Redirect URLs with the Apache Web Server

The Apache virtual host configuration files are found in different places, depending on the...

Renaming Database Tables with phpMyAdmin

To rename a database tables, first log in to phpMyAdmin and then follow the steps: 1. Click the...

Rewrite URLs with mod_rewrite and Apache

Rewrite URLs In a block (usually found a virtual host file) or .htaccess file, enable...

Rule-based Access Control for Apache

Apache provides a number of tools that allow administrators to control access to specific...

Running SQL Queries on a Database with phpMyAdmin

To run SQL queries on a database, first, log in to phpMyAdmin and then do the following: 1....

Searching through a Database with phpMyAdmin

To search through a database, first log in to phpMyAdmin and then follow steps: 1. Select the...

Server Side Includes

SSI (Server Side Includes) are directives that are placed in pages and evaluated on the server...

Starting html as a php file in suphp

Add the following line to your .htaccess file : AddHandler application/x-httpd-php5 .php .html .htm

Tuning Your Apache Server

There are a variety of tools that can assist in determining if you need to alter resource...

Update your Apache version in cPanel

Using WHMUnder "Software" section,  look for "Apache Update." Click this link and then follow the...

WebDAV Support

No, we do not support WebDAV.

What Is GoAccess(A Real-Time Apache and Nginx) And How To Use It?

GoAccess is an interactive and real-time web server log analyzing programmer that instantly...

What is the path to Perl

The first thing you should do is adjust your scripts to use the correct path to the Perl...

Where to put CGI files

Common Gateway Interface (CGI) offers a standard protocol for web servers to execute programs...

Why there is no package ea-apache24_mod_hostinglimits or ea-apache24_mod_lsapi available?

Since EasyApache 4 switched from compiling everything from sources (Apache itself, its modules,...

XSLT / XML & DOM Modules

All the modules required for XSLT are installed & supported. XML support is also installed in...

Zend Framework

Zend Framework is just a set of PHP classes, you can upload/install this to your account without...

open_basedir restriction in effect

If you are trying to use your temporary URL provided in your welcome email and are getting error...