Skip to main content
TopMiniSite

Back to all posts

How to Run CodeIgniter on Cloudways?

Published on
7 min read
How to Run CodeIgniter on Cloudways? image

Best Cloud Hosting Solutions to Buy in November 2025

1 Murach's Oracle SQL and PL/SQL Professional Data Analytics Guide for Database Development & Cloud Hosting - Learn Efficient Statements, Stored Procedures & Database Design (3rd Edition)

Murach's Oracle SQL and PL/SQL Professional Data Analytics Guide for Database Development & Cloud Hosting - Learn Efficient Statements, Stored Procedures & Database Design (3rd Edition)

BUY & SAVE
$45.00
Murach's Oracle SQL and PL/SQL Professional Data Analytics Guide for Database Development & Cloud Hosting - Learn Efficient Statements, Stored Procedures & Database Design (3rd Edition)
2 Steadfast Self-Hosting: Rapid-Rise Personal Cloud

Steadfast Self-Hosting: Rapid-Rise Personal Cloud

BUY & SAVE
$25.00
Steadfast Self-Hosting: Rapid-Rise Personal Cloud
3 Jetec 6 Pieces Artificial Cloud Props Imitation 3D Cloud Shape Hanging Decorations Room DIY Decorative Hanging Ornament for Wedding Party Stage Show Decor (Small and Medium Size)

Jetec 6 Pieces Artificial Cloud Props Imitation 3D Cloud Shape Hanging Decorations Room DIY Decorative Hanging Ornament for Wedding Party Stage Show Decor (Small and Medium Size)

  • VERSATILE SIZES: 6 CLOUD PROPS PERFECT FOR ANY OCCASION OR DECOR THEME.
  • DURABLE QUALITY: MADE FROM LONG-LASTING FABRIC, EASY TO STORE AND REUSE.
  • ROMANTIC DESIGN: HANG THEM FOR DREAMY DECOR OR PAIR WITH LIGHTS FOR CHARM!
BUY & SAVE
$16.99 $17.99
Save 6%
Jetec 6 Pieces Artificial Cloud Props Imitation 3D Cloud Shape Hanging Decorations Room DIY Decorative Hanging Ornament for Wedding Party Stage Show Decor (Small and Medium Size)
4 Queekay 100 Pcs White Cloud Cupcake Toppers Cocktail Food Picks Cloud Decorations for Birthdays Baby Shower Weddings Party Decor Appetizer Toothpicks Cocktail Sticks for Sandwich Hamburger Fruit

Queekay 100 Pcs White Cloud Cupcake Toppers Cocktail Food Picks Cloud Decorations for Birthdays Baby Shower Weddings Party Decor Appetizer Toothpicks Cocktail Sticks for Sandwich Hamburger Fruit

  • CLOUD DESIGN: UNIQUE CLOUD-SHAPED PICKS ENHANCE FOOD PRESENTATION.
  • DURABLE BAMBOO: STURDY, SMOOTH, AND LONGER-LASTING THAN PLASTIC PICKS.
  • VERSATILE USE: PERFECT FOR PARTIES, COCKTAILS, DESSERTS, AND MORE!
BUY & SAVE
$13.99
Queekay 100 Pcs White Cloud Cupcake Toppers Cocktail Food Picks Cloud Decorations for Birthdays Baby Shower Weddings Party Decor Appetizer Toothpicks Cocktail Sticks for Sandwich Hamburger Fruit
5 FINGERINSPIRE 50 Pcs Acrylic Drink Tags Cloud Shape Party Drink Marker 1.8x1.2 inch White Blank Drinking Tags Acrylic Wine Glass Charms for Baby Shower Wedding Cloud 9 Party

FINGERINSPIRE 50 Pcs Acrylic Drink Tags Cloud Shape Party Drink Marker 1.8x1.2 inch White Blank Drinking Tags Acrylic Wine Glass Charms for Baby Shower Wedding Cloud 9 Party

  • UNIQUE CLOUD DESIGN: STAND OUT WITH ATTRACTIVE, DECORATIVE LABELS!

  • DURABLE & SCRATCH-RESISTANT: LONG-LASTING QUALITY FOR ANY OCCASION.

  • VERSATILE USAGE: PERFECT FOR EVENTS, GIFTS, AND DIY FUN!

BUY & SAVE
$12.49
FINGERINSPIRE 50 Pcs Acrylic Drink Tags Cloud Shape Party Drink Marker 1.8x1.2 inch White Blank Drinking Tags Acrylic Wine Glass Charms for Baby Shower Wedding Cloud 9 Party
6 Ayfjovs 8pcs 3D Hanging Cloud Set with Moon and Stars for Ceiling Decor, Felt Artificial Ceiling Clouds for Art Stage Wedding Nursery Children Room Party Baby Shower Cloud Props

Ayfjovs 8pcs 3D Hanging Cloud Set with Moon and Stars for Ceiling Decor, Felt Artificial Ceiling Clouds for Art Stage Wedding Nursery Children Room Party Baby Shower Cloud Props

  • CREATE A MAGICAL AMBIANCE WITH 3D FELT CLOUDS, STARS, AND MOON!

  • PREMIUM FELT MATERIAL ENSURES DURABILITY AND PLUSH COMFORT.

  • EASY INSTALLATION-NO TOOLS NEEDED FOR INSTANT DECOR TRANSFORMATION!

BUY & SAVE
$13.99
Ayfjovs 8pcs 3D Hanging Cloud Set with Moon and Stars for Ceiling Decor, Felt Artificial Ceiling Clouds for Art Stage Wedding Nursery Children Room Party Baby Shower Cloud Props
7 Korser 122" Sectional Couches for Living Room, Modular Boneless Couch with Deep Seat & Fluffy Cushion, Cozy Double-Layer Cushioned Sofa with Convertible Ottoman, Comfy Cloud Sofa, No Assembly Required

Korser 122" Sectional Couches for Living Room, Modular Boneless Couch with Deep Seat & Fluffy Cushion, Cozy Double-Layer Cushioned Sofa with Convertible Ottoman, Comfy Cloud Sofa, No Assembly Required

  • INSTANT COMFORT: UNBOX IN 60 SECONDS, NO ASSEMBLY REQUIRED!
  • VERSATILE DESIGN: MODULAR PIECES ADAPT TO ANY SPACE EFFORTLESSLY!
  • LUXURIOUS FABRIC: SOFT, STAIN-RESISTANT CHENILLE FOR EASY UPKEEP!
BUY & SAVE
$549.99
Korser 122" Sectional Couches for Living Room, Modular Boneless Couch with Deep Seat & Fluffy Cushion, Cozy Double-Layer Cushioned Sofa with Convertible Ottoman, Comfy Cloud Sofa, No Assembly Required
8 Hammont Cloud Shaped Acrylic Candy Boxes - 12 Pack - 3.07"x1.77"x0.98" - Perfect for Weddings, Birthdays, Party Favors and Gifts | Designer Cute Clear Lucite Plastic Treat Containers

Hammont Cloud Shaped Acrylic Candy Boxes - 12 Pack - 3.07"x1.77"x0.98" - Perfect for Weddings, Birthdays, Party Favors and Gifts | Designer Cute Clear Lucite Plastic Treat Containers

  • PREMIUM ACRYLIC ENSURES DURABILITY AND KEEPS TREATS SAFE AND FRESH.

  • EYE-CATCHING DESIGNS ELEVATE GIFTING FOR ANY CELEBRATION OR OCCASION.

  • STYLISH, STURDY BOXES DELIVER EXCEPTIONAL VALUE AND 100% SATISFACTION!

BUY & SAVE
$13.45
Hammont Cloud Shaped Acrylic Candy Boxes - 12 Pack - 3.07"x1.77"x0.98" - Perfect for Weddings, Birthdays, Party Favors and Gifts | Designer Cute Clear Lucite Plastic Treat Containers
9 MFGDISCO Disco Ball Cloud Shaped, Cute Hanging Party Mirror Decor with Chain, Retro Light Reflective Ball for Party Home Decor, Disco Mirror Ornaments, Silver, Design Patent

MFGDISCO Disco Ball Cloud Shaped, Cute Hanging Party Mirror Decor with Chain, Retro Light Reflective Ball for Party Home Decor, Disco Mirror Ornaments, Silver, Design Patent

  • WHIMSICAL CLOUD DESIGN ADDS UNIQUE CHARM TO ANY DECOR STYLE.
  • REFLECTIVE FINISH CREATES STUNNING LIGHT PATTERNS FOR ANY EVENT.
  • IDEAL GIFT FOR PARTY LOVERS, PERFECT FOR MEMORABLE CELEBRATIONS.
BUY & SAVE
$28.20 $29.69
Save 5%
MFGDISCO Disco Ball Cloud Shaped, Cute Hanging Party Mirror Decor with Chain, Retro Light Reflective Ball for Party Home Decor, Disco Mirror Ornaments, Silver, Design Patent
10 Temicle 3-Pack 54 x 108 Inch Cartoon Sky Tablecloths – Blue Sky and Cloud Disposable Plastic Covers for Kids Birthday, Baby Shower, and Party Supplies

Temicle 3-Pack 54 x 108 Inch Cartoon Sky Tablecloths – Blue Sky and Cloud Disposable Plastic Covers for Kids Birthday, Baby Shower, and Party Supplies

  • WHIMSICAL SKY DESIGN ADDS FUN TO ANY KIDS' CELEBRATION SETUP!

  • LARGE SIZE ENSURES FULL COVERAGE FOR MESS-FREE, STRESS-FREE PARTIES.

  • PERFECT FOR DIVERSE EVENTS: BIRTHDAYS, BABY SHOWERS, AND MORE!

BUY & SAVE
$6.99
Temicle 3-Pack 54 x 108 Inch Cartoon Sky Tablecloths – Blue Sky and Cloud Disposable Plastic Covers for Kids Birthday, Baby Shower, and Party Supplies
+
ONE MORE?

To run CodeIgniter on Cloudways, follow the steps below:

  1. Sign up for an account on Cloudways and log in.
  2. Click on the "Launch" button to create a new server.
  3. Choose your desired cloud infrastructure provider (such as AWS, Google Cloud, DigitalOcean, etc.) and select the server size and location.
  4. Set up your application name, project, and server settings.
  5. Under the "PHP Stack" section, select the PHP version compatible with your CodeIgniter application.
  6. Choose the database type (MySQL, MariaDB, etc.) and configure the database connection details.
  7. Specify the desired server settings, such as server size, disk size, and bandwidth.
  8. Click on the "Launch Now" button to create your server.
  9. Once the server is created, go to the "Server Management" tab and click on the server in which you want to run CodeIgniter.
  10. In the server management dashboard, navigate to the "Application Management" section and click on the "+" icon.
  11. Select "PHP Application" from the dropdown menu.
  12. Fill in the details of your CodeIgniter application, such as application name and domain name.
  13. Choose the desired PHP version and click on the "Start" button.
  14. Cloudways will set up your CodeIgniter application and provide you with the necessary deployment details.
  15. Access your CodeIgniter application by navigating to the specified domain name or IP address provided by Cloudways.
  16. You can now start building and running your CodeIgniter application on the Cloudways platform.

Please note that these steps are a general guide, and the process may vary slightly depending on the cloud infrastructure provider and server settings chosen on Cloudways.

How to set up cron jobs for CodeIgniter on Cloudways?

To set up cron jobs for CodeIgniter on Cloudways, follow these steps:

  1. Log in to your Cloudways account.
  2. Select your target server/application from the list.
  3. In the Application Management section, click on the "Cron Job Manager" option.
  4. Click on the "Add New Job" button.
  5. In the "Command" field, provide the command to run your CodeIgniter project's cron job. Normally, it will be in the format php /path/to/your/codeigniter/project/index.php controller method. For example, if you have a cron job that calls the my_cron method in the Cron controller of your CodeIgniter project, the command would be something like: php /home/master/applications/your_app/public_html/index.php cron my_cron
  6. Specify the desired schedule for your cron job using the provided options (minute, hour, day, month, and weekday).
  7. Optionally, set an Email address for receiving notifications related to cron job execution.
  8. Click on the "Add Job" button to save the cron job.

The cron job will now be scheduled and executed based on the specified time intervals. You can also view, edit, or delete cron jobs from the Cron Job Manager in your Cloudways account.

What are the available server-side optimizations for running CodeIgniter on Cloudways?

When running CodeIgniter on Cloudways, there are several server-side optimizations that you can implement to improve performance:

  1. Caching: Cloudways provides built-in server-level caching options like Memcached, Redis, and Varnish. You can enable and configure these caching mechanisms to enhance the overall speed and performance of your CodeIgniter application.
  2. PHP-FPM: PHP-FPM (FastCGI Process Manager) is a PHP FastCGI implementation that enhances PHP performance by utilizing separate processes for handling PHP requests. Enabling PHP-FPM can improve the overall performance of your CodeIgniter application.
  3. Opcode Caching: Utilize opcode caching mechanisms like APC, OpCache, or Redis to store precompiled PHP script bytecode in memory. This significantly reduces the PHP execution time and improves the overall performance of CodeIgniter.
  4. Database Optimization: Optimize your database queries and schema design to improve the efficiency of data retrieval and storage. Ensure that your database is properly indexed and utilize query caching mechanisms provided by Cloudways for faster data retrieval.
  5. HTTP/2 and SSL: Enable HTTP/2 and SSL certificates for your CodeIgniter application to improve security and performance. HTTP/2 enables faster page loading by multiplexing multiple requests over a single connection, while SSL encryption protects data during transmission.
  6. CDN Integration: Integrate a Content Delivery Network (CDN) with Cloudways to distribute your static assets (CSS, JS, images) across multiple edge servers. This reduces latency and improves the loading speed of your CodeIgniter application, especially for global audiences.
  7. Gzip Compression: Enable Gzip compression on your Cloudways server to compress your website's files before transferring them to the requesting client. This reduces the file size and improves the loading speed of your CodeIgniter application.
  8. Server Sizing: Ensure that you have allocated sufficient resources to the server hosting your CodeIgniter application. Cloudways allows you to scale your server resources easily, so monitor the server's performance and adjust the resources as needed to meet the demands of your application.

By implementing these server-side optimizations, you can significantly improve the performance of your CodeIgniter application when hosted on Cloudways.

What is the performance impact of using Cloudways for CodeIgniter?

The performance impact of using Cloudways for CodeIgniter can vary depending on various factors such as server configuration, application code, and traffic volume. However, Cloudways offers a managed hosting solution with optimized server configurations and caching mechanisms that can significantly improve the performance of CodeIgniter applications.

Cloudways provides a range of server options, including multiple cloud infrastructure providers such as AWS, Google Cloud, and DigitalOcean. These providers are known for their high-performance servers, which can enhance the overall speed and responsiveness of CodeIgniter applications.

Additionally, Cloudways offers server-level caching through Redis and Varnish, allowing for efficient and fast content delivery. These caching mechanisms can help reduce server response time and improve application performance.

Furthermore, Cloudways allows users to easily scale their server resources as per their requirements. This flexibility ensures that your CodeIgniter application can handle increased traffic without any degradation in performance.

In conclusion, using Cloudways for CodeIgniter can have a positive performance impact due to their optimized server configurations, caching mechanisms, and the ability to scale server resources as needed. However, the overall performance also depends on the quality of your application code and other optimizations you implement.

How to configure email support in CodeIgniter on Cloudways?

To configure email support in CodeIgniter on Cloudways, you can follow these steps:

  1. Connect to your Cloudways server using SSH or SFTP.
  2. Go to the root directory of your CodeIgniter project.
  3. Open the application/config folder and locate the email.php file.
  4. Open the email.php file and update the following settings: Set the protocol to smtp or sendmail depending on your email provider. For example: $config['protocol'] = 'smtp'; Configure the SMTP settings if you are using the smtp protocol. For example: $config['smtp_host'] = 'smtp.example.com'; $config['smtp_user'] = 'user@example.com'; $config['smtp_pass'] = 'password'; $config['smtp_port'] = 587; Note: Update smtp_host, smtp_user, smtp_pass, and smtp_port with your email provider's SMTP details. Set other email-related settings as per your requirements. For example: $config['charset'] = 'utf-8'; $config['wordwrap'] = TRUE; $config['mailtype'] = 'html';
  5. Save the changes to the email.php file.

That's it! Now you have configured email support in CodeIgniter on Cloudways. You can start using the CodeIgniter email library functions to send emails from your application.

What are the available caching options for CodeIgniter on Cloudways?

Cloudways offers two caching options for CodeIgniter:

  1. Memcached: Cloudways supports Memcached, a distributed caching system that stores key-value pairs in memory for fast retrieval. Memcached can help improve the performance of your CodeIgniter application by reducing the load on your database server. Cloudways provides easy integration and management of Memcached, allowing you to enable or disable it with just a few clicks.
  2. Redis: Cloudways also supports Redis, an in-memory data structure store that can be used as a cache, database, or message broker. Redis offers advanced caching features and can significantly improve the performance of your CodeIgniter application. Cloudways provides seamless integration and management of Redis, allowing you to enable or disable it through the platform's intuitive control panel.

Both Memcached and Redis can be easily enabled and configured through the Cloudways platform, making it convenient to enhance the performance of your CodeIgniter application.