This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here

Skip to main content

Just Host Web Hosting Help

Change Your PHP Version - PHP Config

Overview

Our servers support PHP 5.4, PHP 5.6, and PHP 7.0.

Consider using PHP 7, as it offers a significant improvement to speed and memory usage over past versions of PHP. It also comes with better error handling and many bug fixes.

Before making the switch, you need to be aware of backwards compatibility issues with scripts. Older PHP coding may not be compatible with newer versions of PHP.



Standard Vs Single Vs FastCGI

Our System allows you to run PHP scripts a few different ways. You will see these options along side each PHP version on the version selection page.

  • Standard

    Allows multiple php.ini files. This allows you to control the php configuration on a directory by directory basis by placing a php.ini file in any folder.

  • Single php.ini

    All php.ini files except ~/public_html/php.ini will be ignored. This will make your php configuration more manageable as everything is controlled from a single file.

  • FastCGI

    In some situations running in FastCGI can improve the performance of your website. FastCGI runs PHP scripts through mod_fastcgi which eliminates the startup overhead for each script.

How to Change PHP Versions

You can change your PHP version by following these steps:

  1. Log in to your Just Host account.
  2. Under Programming click PHP Config.
  3. Select the version of PHP you're interested in using.
  4. Click Save Change

Things to Keep in Mind

While it is best practice to always use the most recent version of PHP, it is important to check the compatibility of your site against new versions of PHP before upgrading. Sites built with WordPress can use the PHP Compatibility Checker plugin.

Make sure any applications, themes, or plugins are up to date before upgrading PHP.

If you are using a custom php.ini file that references PHP modules that are not available in your selected version, your site may not work. Either remove the custom php.ini file (which will cause the server to use the default php.ini file), or create a php.ini file that is compatible with your selected version.

If you are experiencing slowness in your site and you are using one of the FastCGI options, then you will want to change to another option as this can cause slowness in sites if not properly coded for using FastCGI.

Knowledgebase Article 439,112 views bookmark tags: config php


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

This article will explain how to add a PHP handler to your .htaccess files. This is useful if you want to customize the version of PHP that runs your PHP files.
Knowledgebase Article 174,898 views tags: htaccess php

Changing PHP versions, load custom Apache mods, and other Apache/PHP customizations
Knowledgebase Article 65,137 views tags: easyapache php vps whm

How do I change my contract length?
Knowledgebase Article 150,990 views tags: change contract hosting length package payment

Related Help Content

This article will explain how to use Easy Apache to recompile Apache. This is useful if you want to change the version of PHP or change other PHP and Apache settings.
Knowledgebase Article 35,648 views tags: apache build compile dedi dedicated easy modules version vps

How can I change the primary domain name on my account?
Knowledgebase Article 980,025 views tags: account change domain primary rename

How do I change the PHP environment for my site with php.ini?
Knowledgebase Article 604,016 views tags: configuration php server

Where do I Change my Mailbox (Size) Quota? How do I Increase or Decrease Mailbox (Storage) Quota?
Knowledgebase Article 249,530 views tags: account change decrease email increase mailbox quota size

How do I install Ioncube into a Just Host hosting account?
Knowledgebase Article 190,143 views tags: clientexec cube encoder extension ioncube php zend

How can I adjust the php settings specifically for an Addon Domain?
Knowledgebase Article 156,752 views tags: domain php

A walkthrough for installing SourceGuardian ixeds into a Just Host hosting account.
Knowledgebase Article 80,356 views tags: encoder extension guardian ixed ixeds loader loaders php source sourceguardian

A step-by-step guide to renewing your hosting account.
Knowledgebase Article 119,032 views tags: hosting renew

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.