TutorialscPanel

Configuring PHP directives in cPanel on VPS hosting packages using MultiPHP INI Editor

This article describes the steps necessary to configure PHP directives on VPS hosting packages using MultiPHP INI Editor.

3
Views 636Updated 9 luniPublished on 26/10/2017by Sebastian Szlivka

Introduction

  • cPanel offers the ability to configure PHP directives at the domain level (fully qualified domain, subdomain, etc.) through the MultiPHP INI Editor. Depending on the requirements of the installed applications or created websites, we can modify several PHP directives, such as: display_errors, error_reporting, max_input_vars, max_input_time, memory_limit, post_max_size, log_errors, upload_max_filesize, etc.

Requirements

  • To configure the PHP directives of a domain, subdomain, or complete domain, you will need to access the control panel cPanel. This action can be performed either by accessing domeniu.xx/cpanel or cpanel.domeniu.xx, or from the WHM interface. The WHM administration data can be found in the email with the VPS management details.

Steps

  •  Once the control panel is accessed, we will go to the Software section and click on MultiPHP INI Editor.

MultiPHP INI Editor cPanel

 

  • In the next window, we will have the ability to modify the values of PHP directives in two ways:

Basic Mode  - configuring directives using interactive buttons and input fields.

Editor Mode - configuring directives by directly editing the php.ini file, located at /home/USER/public_html/php.ini

  • In the Basic Mode tab, under Configure PHP INI basic settings, we will select the domain for which we want to make the changes.

PHP INI basic pe domeniu

  • After the domain is selected, a list of basic PHP directives will be loaded. Here we will also be able to make the desired configurations with the help of interactive buttons and input fields. To save the new values, we will click the Apply button at the bottom of the page.

Configurare PHP pe domeniu

 

  • We will be greeted with a confirmation message: Successfully applied the settings.
  • If the PHP directive is not present in the list, we can configure it using Editor Mode. We will click on the Editor Mode tab and select the desired domain from the list.

Edit PHP INI settings

  • After the domain has been selected, we will have the option to manually edit the php.ini file through a text editor. Once the PHP directives have been added/modified, we will click the Save button on the right side of the page.

Similar Articles

DNS settings in the Webuzo panelTutorials /Webuzo

Learn how to edit and set DNS records in the Webuzo panel. Follow the steps to efficiently manage domains and subdomains.

46
by Alexandru Rogojan
Views 1605
Updated 1 month ago
Published on 14/09/2017
Changing the PHP version in cPanel on VPS hosting packages via MultiPHP ManagerTutorials /cPanel

In this article, we will present the necessary steps to change the PHP version in a cPanel account using MultiPHP Manager.

42
by Sebastian Szlivka
Views 1896
Updated 10 months ago
Published on 18/10/2017
Clear cache and history in Chrome browserTutorials /Apps

Learn how to delete your history and cache in Google Chrome using the Ctrl+Shift+Delete key combination. The tutorial includes simple steps and applicability in other browsers.

30
by Florin Petran
Views 5347
Updated 4 years ago
Published on 08/01/2018
Creating an email account in cPanelTutorials /cPanel

The cPanel allows for the creation of an unlimited number of email accounts associated with hosted domains. This tutorial will explain the necessary steps to create and access an email account.

22
by Cătălin Adrian
Views 3762
Updated 10 months ago
Published on 28/06/2017
SSH settings in WebuzoTutorials /Webuzo

In this tutorial, learn how to block SSH access on the Webuzo server by enabling the connection and configuring the necessary port.

20
by Alexandru Rogojan
Views 522
Updated 2 months ago
Published on 12/06/2018