3 min read

Your GoZen Host shared hosting account can run multiple PHP versions. This guide covers switching versions, adjusting settings, and fixing common PHP issues.

Checking Your Current PHP Version

Two quick ways:

  1. cPanel → Software → MultiPHP Manager - shows the version assigned to each domain
  2. Create a phpinfo file:
  <?php phpinfo(); ?>
  

Upload this as info.php to public_html/, visit yourdomain.com/info.php, and check the version at the top.

Changing PHP Version

  1. Go to Software → MultiPHP Manager
  2. Find your domain in the list
  3. Select the PHP version from the dropdown
  4. Click Apply

GoZen shared hosting also has CloudLinux’s PHP Selector (Software → Select PHP Version), which is where you enable extensions and change options for the selected version.

VersionStatusUse When
PHP 7.4End of lifeLegacy apps that can’t upgrade (update them)
PHP 8.0End of lifeOlder WordPress/plugins that haven’t updated
PHP 8.1End of lifeApps not yet tested on newer versions (plan an upgrade)
PHP 8.2Security fixes only (until Dec 2026)Existing sites while you test 8.4
PHP 8.3Security fixes onlyMinimum for new sites
PHP 8.4Active (recommended)New projects and updated apps
PHP 8.5Active (newest)Sites whose plugins and themes support it

Editing PHP Settings (php.ini)

Go to Software → MultiPHP INI Editor to adjust settings per domain.

Common Settings

SettingDefaultCommon ChangeWhy
upload_max_filesize2M64M or 128MUpload larger files in WordPress or other apps
post_max_size8M128MMust be ≥ upload_max_filesize
max_execution_time30120 or 300Prevent timeouts on slow imports or backups
memory_limit128M256M or 512MMore memory for complex pages/plugins
max_input_vars10003000 or 5000WordPress sites with many fields (WooCommerce, page builders)

Using the INI Editor

  1. Go to Software → MultiPHP INI Editor
  2. Select Basic Mode or Editor Mode
  3. Pick your domain from the dropdown
  4. Adjust the settings
  5. Click Apply

Via .htaccess

You can also set PHP values in your .htaccess file:

  php_value upload_max_filesize 128M
php_value post_max_size 128M
php_value max_execution_time 300
php_value memory_limit 256M
  

This method works per directory, so you can have different settings for different parts of your site. It works because GoZen shared hosting runs LiteSpeed. Where PHP runs as PHP-FPM (on some VPS setups, for example), php_value lines cause a 500 Internal Server Error: remove them and use the MultiPHP INI Editor or Select PHP Version → Options instead.

PHP Extensions

Go to Software → Select PHP Version → Extensions tab and tick the modules you want enabled. Changes apply to the PHP version shown at the top of that page.

Common extensions that applications need:

ExtensionRequired By
mysqli / pdo_mysqlWordPress, Laravel, any MySQL-based app
gd / imagickImage processing (thumbnails, uploads)
curlAPI calls, payment gateways
mbstringMulti-byte string handling (non-English content)
zipPlugin/theme uploads in WordPress
intlInternationalization (Laravel, Symfony)

Troubleshooting

ProblemFix
“Your PHP version does not meet requirements”Switch to a newer version in MultiPHP Manager
White screen / blank pageEnable error display: add ini_set('display_errors', 1); to your script or check error logs
File upload fails silentlyIncrease upload_max_filesize and post_max_size
Script times outIncrease max_execution_time
“Allowed memory size exhausted”Increase memory_limit
Extension missing errorEnable it in Select PHP Version → Extensions

What to Do Next

Last updated 21 Oct 2026, 00:00 +0300. history

Was this page helpful?