Latest news from 5wire Networks

How to make changes to your PHP.ini file in cPanel

This tutorial will guide you through using the MultiPHP INI Editor in cPanel to modify PHP settings for your websites. There are two main interfaces: Basic Mode and Editor Mode.

Basic Mode (Easier):

  1. Access cPanel: Log in to your cPanel account provided by your web hosting service.
  2. Locate MultiPHP INI Editor: Navigate to the “Software” section and find the “MultiPHP INI Editor” option. Click on it.
  3. Select Location: From the dropdown menu under “Configure PHP INI basic settings,” choose the location you want to modify. You can select either:
    • The home directory (affects all websites under your cPanel account)
    • A specific domain’s document root (affects settings only for that domain)
  4. Adjust Settings: The interface will display commonly used PHP directives with descriptions and default values. Locate the setting you want to change and adjust its value using the provided fields.
  5. Apply Changes: Once you’ve made your adjustments, click the “Apply” button to save the changes to the PHP configuration for the chosen location.

Editor Mode (Advanced):

  1. Access Editor Mode: In the MultiPHP INI Editor interface, switch to “Editor Mode” from the top-left corner.
  2. Select Location: Similar to Basic Mode, choose the location (home directory or document root) you want to edit the PHP configuration for.
  3. Edit Configuration File: The editor will display the content of the PHP configuration file (usually named php.ini) for the chosen location. You can directly edit the settings here by adding, modifying, or removing lines. Be cautious when editing this file, as syntax errors can cause unexpected behavior on your website.
  4. Save Changes: After making your edits, click the “Save” button to save the changes to the php.ini file.

Important Considerations:

  • Exercise Caution: Especially in Editor Mode, make sure you understand the implications of any changes you make to the PHP configuration. Incorrect settings can lead to website malfunctions.
  • Basic Mode for Beginners: If you’re new to editing PHP settings, start with Basic Mode, which provides a user-friendly interface with explanations for each option.
  • Refer to Documentation: For detailed information about specific PHP directives and their effects, consult the official PHP documentation https://www.php.net/manual/en/index.php.

By following these steps and using caution, you can effectively adjust PHP settings for your websites using the MultiPHP INI Editor in cPanel.

Expand Your Hosting Services with 5wire’s Cloud Server, Reseller Hosting, and Forex Servers. Join the 5wire reseller hosting network and leverage our advanced cloud servers and specialised forex servers to grow your business.

25% DISCOUNT FOR LIFE

Life time discount when you purchase your first order. Applies to Web Hosting, Reseller Hosting, and Cloud Servers.

Free Domain included on yearly Web Hosting plans.

Use code WEBOFF at the checkout!

Terms and Conditions apply. Voucher code is only valid for new customers.