Loading...

Shared Hosting

Launch your website effortlessly with our high-performance shared hosting. Get industry-leading uptime, robust security, and expert support—all at an unbeatable price point for your online success.

Starting at: $10 / Year

Get Started Now

How to Change PHP Version for CLI (Command Line)

When working with PHP through the command line interface (CLI), you might need to use a different PHP version than what's running on your web server. This is common when running scripts, composer commands, or cron jobs that require specific PHP features.

First, check your current CLI PHP version by running:

  • php -v

To change the PHP version for CLI, you have several options depending on your hosting environment:

1. Using alternatives system (Linux servers):
Many hosting providers use the update-alternatives system. You can switch versions with: sudo update-alternatives --set php /usr/bin/php8.1 Replace "8.1" with your desired version number.

2. Creating aliases (for regular users):
Add an alias to your ~/.bashrc or ~/.bash_profile: alias php='/usr/bin/php8.1' Then reload with: source ~/.bashrc

3. Using absolute paths:
Simply call PHP using the full path to your desired version: /usr/bin/php8.1 script.php

Important notes:

  • CLI PHP version is separate from your web server's PHP version
  • Some hosting panels (like cPanel) may have specific tools for CLI PHP management
  • Always verify the change worked by running php -v again
  • Different PHP versions may require different extensions - check compatibility

If you're on shared hosting without shell access, contact your hosting provider as they may need to make this change for you.

Our Hosting Plans

We provide a range of scalable shared hosting solutions designed for blogs, business sites, and online portfolios. Each plan includes essential features to ensure optimal performance.

1GB plan

Ideal for launching a simple personal blog or a small static website to establish your initial online presence.

Starter Package

$10/ Year

1 GB Disk Space

Unmetered data transfer and support for multiple domains

Complimentary Let's Encrypt SSL certificate

High-performance SSD NVME storage drives

Daily automated backups for data safety

2GB plan

Perfect for growing blogs or small business websites that require more storage and resources.

Growth Plan

$15/ Year

2 GB Disk Space

Unmetered data transfer and support for multiple domains

Complimentary Let's Encrypt SSL certificate

High-performance SSD NVME storage drives

Daily automated backups for data safety

5GB plan

Suited for dynamic websites, online communities, or small online stores with moderate traffic.

Business Package

$20/ Year

5 GB Disk Space

Unmetered data transfer and support for multiple domains

Complimentary Let's Encrypt SSL certificate

High-performance SSD NVME storage drives

Daily automated backups for data safety

10GB plan

Excellent for resource-intensive websites, medium-sized online stores, or multimedia-rich portfolios.

Professional Tier

$3/ Month

10 GB Disk Space

Unmetered data transfer and support for multiple domains

Complimentary Let's Encrypt SSL certificate

High-performance SSD NVME storage drives

Daily automated backups for data safety

20GB plan

Designed for high-traffic business websites, extensive blogs, or e-commerce platforms with many products.

Advanced Solution

$4.5/ Month

20 GB Disk Space

Unmetered data transfer and support for multiple domains

Complimentary Let's Encrypt SSL certificate

High-performance SSD NVME storage drives

Daily automated backups for data safety

50GB plan

Our most powerful shared hosting plan, built for large enterprises, major online marketplaces, and high-demand applications.

Enterprise Grade

$7.5/ Month

50 GB Disk Space

Unmetered data transfer and support for multiple domains

Complimentary Let's Encrypt SSL certificate

High-performance SSD NVME storage drives

Daily automated backups for data safety