NetPoa

Choose your PHP version and extensions with Select PHP Version

Updated 27 Nov 2026

Some apps (Laravel, logistics and school systems, online shops) need a particular PHP version or extra PHP extensions. On our hosting you can set both yourself in cPanel, with no ticket and without touching your files or databases.

Two ways PHP runs your website

MultiPHP Manager (our default) Select PHP Version (CloudLinux)
PHP builds ea-php (for example ea-php82) alt-php (for example alt-php82)
Versions The ones we install for everyone Many versions, old and new
Extensions Fixed by us You tick the ones you need
Settings such as memory_limit Edited in MultiPHP INI Editor On the Options tab

New websites start on MultiPHP Manager with ea-php. While a domain uses its own ea-php version there, Select PHP Version cannot change it. That is why the Select PHP Version page may show 0 domains, or say:

Ask the hoster to switch off PHP-FPM for domains and set current version to system version.

Setting the version is yours to do in cPanel; switching off PHP-FPM is done by us (it is a server setting), so the first step is a short ticket.

Before you start

  • Your files, databases and email are not changed by any of these steps. Only the PHP your website runs on changes.
  • Write down the PHP version your site uses now (MultiPHP Manager shows it), so you can go back if you need to.
  • Do it at a quiet time: your website may show an error for a minute if it needs an extension you have not turned on yet.

Step 1: ask us to switch off PHP-FPM

Select PHP Version only works when PHP-FPM is off for the domain, and only we can switch it off. Open a ticket in Technical support with:

Please switch off PHP-FPM for yourdomain.co.tz so I can use Select PHP Version.

We reply when it is done, usually within working hours the same day. Nothing on your website changes when we do it. You can do Step 2 while you wait.

Step 2: set the domain to the system default in MultiPHP Manager

  1. Sign in to cPanel (from your Services page, press Log in to cPanel).
  2. Open Software › MultiPHP Manager.
  3. Tick the box next to your domain, for example oceancrest.co.tz.
  4. In PHP Version (top right), choose inherit. This sets the domain to the server’s system default PHP.
  5. Press Apply.

The PHP Version column should now show inherit (with the system version after it).

Step 3: choose your PHP version in Select PHP Version

  1. In cPanel open Software › Select PHP Version.
  2. Next to Current PHP version, choose the version you need, for example 8.2.
  3. Press Set as current.

The page now lists your domain, and your website runs on alt-php82. If it still says to switch off PHP-FPM, we have not finished Step 1 yet: reply on your ticket.

Native in that list means “use MultiPHP Manager’s PHP again”. Choose it to undo the switch.

Step 4: turn on the extensions your app needs

On the Extensions tab, tick each one your app asks for. Changes save straight away. For most PHP and MySQL apps (Laravel, CodeIgniter, WordPress and most logistics or school systems) these are:

Extension What it is for
pdo and pdo_mysql Talking to MySQL through PDO (Laravel and most modern apps)
mysqli (and nd_mysqli if listed) Talking to MySQL the older way
mbstring Text in any language
openssl Secure connections and encryption (usually built in, always on)
curl Calling other services: payments, SMS, maps
fileinfo, zip, gd or imagick, intl, bcmath Uploads, ZIP files, images, dates and money. Often needed too

If two extensions conflict (for example mysqli and nd_mysqli), the page tells you. Keep the one your app’s documentation names.

Step 5: adjust PHP settings (optional)

On the Options tab you can raise limits for bigger apps, for example:

  • memory_limit: 256M or 512M
  • upload_max_filesize and post_max_size: 64M
  • max_execution_time: 120

Check it worked

  1. In File Manager, in your website’s folder (usually public_html), create a file named info.php containing:
    <?php phpinfo();
    
  2. Open https://yourdomain/info.php. The top shows the PHP version; search the page (Ctrl+F) for pdo_mysql, mysqli, mbstring, openssl and curl.
  3. Delete info.php afterwards. It shows details about your server that others should not see.

Still on the old version?

If your site still shows the old PHP after Step 3, open the .htaccess file in public_html (in File Manager, Settings › Show hidden files). Remove the block between these lines, then save:

# php -- BEGIN cPanel-generated handler, do not edit
...
# php -- END cPanel-generated handler, do not edit

Then repeat Step 2. If anything goes wrong, set Select PHP Version back to native and MultiPHP Manager back to your old version: your site is as it was before.

Kwa Kiswahili

Kwa chaguo-msingi tovuti yako inatumia PHP ya MultiPHP Manager (ea-php). Kuchagua toleo la PHP na viendelezi (extensions) mwenyewe:

  1. Tufungulie tiketi tukuzimie PHP-FPM kwa domain yako (sisi ndio tunaweza kuizima).
  2. MultiPHP Manager: chagua domain yako, weka PHP Version kuwa inherit, bonyeza Apply.
  3. Select PHP Version: chagua toleo (mfano 8.2), bonyeza Set as current.
  4. Kwenye Extensions, weka tiki pdo, pdo_mysql, mysqli, mbstring, curl na vingine programu yako inavyohitaji.

Faili, databases na barua pepe zako hazibadiliki. Kurudi ulivyokuwa, chagua native kwenye Select PHP Version.


Still need help? Open a ticket and we will reply.

Was this helpful?