Skip to content
By stack4 min read

PHP hosting: versions, settings and the right plan

Short answer

A standard PHP site runs on any ArabyHost hosting plan: pick PHP 8.1 to 8.3 per domain, create a MySQL database and upload your files to public_html. If your project relies on Composer or command-line scripts, choose an AI/Developer plan, which includes SSH.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. What a PHP site needs
  2. Choosing a PHP version
  3. Which plan fits a PHP project?
  4. Deploying, in short
  5. Common errors after a move
  6. What every account includes
  7. Limits to know
  8. On ArabyHost

PHP is the easiest kind of app to host: there’s no process to keep alive and no port to claim. The web server receives a request, PHP runs the code, and the memory is freed. Whether your site works comes down to four things: the right version, the extensions it needs, sensible php.ini limits and a database set up for Arabic text.

What a PHP site needs

Item Why it matters On ArabyHost
PHP version Old code can break on 8.x; modern libraries require 8.2 or newer 8.1, 8.2 and 8.3, per domain via MultiPHP
Extensions pdo_mysql for the database, mbstring for Arabic text, gd for images, curl for APIs Check with php -m or a phpinfo() page
php.ini settings memory_limit, upload_max_filesize, max_execution_time MultiPHP INI Editor, within account limits
Database MySQL or MariaDB with utf8mb4 for Arabic and emoji MySQL/MariaDB
Clean URLs Rewrite rules in .htaccess LiteSpeed reads .htaccess directly
Composer For projects built on packages AI/Developer plans, or upload vendor ready-made
Sending email Use SMTP rather than mail() SMTP, with an hourly cap per domain

Choosing a PHP version

  • 8.3: use it for anything new; it receives security fixes the longest.
  • 8.2: gets security fixes until the end of 2026; fine if one of your libraries doesn’t support 8.3 yet.
  • 8.1: security support ended at the end of 2025. Treat it as a stepping stone for old code only.

Code moving up from PHP 7 tends to hit the same problems: removed functions such as each() and create_function(), the deprecation for passing null to built-in functions that don’t accept it (since 8.1), and the dynamic-properties deprecation (since 8.2). How to switch and test versions is in the PHP version guide.

Which plan fits a PHP project?

Shared hosting is enough for a standard PHP site: a company site, a CMS, a contact form or a simple dashboard. It has PHP 8.1 to 8.3 and MySQL/MariaDB, without SSH.

AI/Developer plans suit modern projects: SSH jailed in CageFS, Composer, Git, cron for background scripts and Node.js if you need to build front-end assets. They’re the right choice for a framework such as Laravel or Symfony.

WordPress sites have their own plans, with one-click install and LiteSpeed Cache.

Deploying, in short

  1. Set the domain’s PHP version in MultiPHP Manager.
  2. Create a database and user in cPanel (how). cPanel prefixes names with your account username, e.g. USER_shop.
  3. Zip your site, upload it to public_html in the File Manager and extract it.
  4. Import your SQL file and put the credentials in your config file. The host is usually localhost.
$pdo = new PDO(
    'mysql:host=localhost;dbname=USER_shop;charset=utf8mb4',
    'USER_shopuser',
    'DB_PASSWORD',
    [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]
);

charset=utf8mb4 is what stops Arabic text from turning into question marks. The full walkthrough is in the PHP site deployment guide.

Common errors after a move

  • White page or 500 error: a fatal error recorded in the error log, often caused by the version jump (fix).
  • Allowed memory size exhausted: the script went over memory_limit. Raise it a little or process data in batches.
  • Every URL but the home page returns 404: .htaccess wasn’t uploaded; file managers and FTP clients often hide dotfiles.

What every account includes

LiteSpeed, each account isolated in CloudLinux CageFS with its own resource limits (LVE), free SSL issued automatically, daily JetBackup backups and Imunify360 security. The panel includes the Araby AI assistant, which reads the error log and explains the fix, and support is available in Arabic.

Limits to know

  • Available versions are 8.1 to 8.3. A project that requires PHP 8.4 won’t run here yet.
  • No root access, so you can’t install PHP extensions yourself; if one is missing, contact support.
  • Resources are limited per plan, and long scripts stop at max_execution_time.
  • Outgoing email is capped per hour per domain, so large newsletters need a dedicated sending service.

On ArabyHost

For a standard PHP site, pick a shared hosting plan on the pricing page. For a project built on Composer and SSH, choose an AI/Developer plan. If your site lives on another host, ask for free migration.

FAQ

Can I run code written for PHP 7.4?

Only PHP 8.1, 8.2 and 8.3 are available, so older code needs updating. Start on 8.1 as the closest step, fix the removed functions and warnings that show up in the error log, then move to 8.3.

Can I change memory_limit and upload_max_filesize?

Yes, per domain in cPanel's MultiPHP INI Editor, within your account's resource limits. Raise values only as far as you need rather than setting huge numbers.

Do I need SSH to run a PHP site?

No. A standard PHP site only needs its files uploaded through the File Manager. SSH matters once you use Composer, run command-line scripts or pull from Git, and it's included on AI/Developer plans.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.