WordPress Applications

2 min read Updated 1 week ago

WordPress on Ploi Cloud

Ploi Cloud provides optimized support for WordPress applications, with flexible deployment options and automated management features.

WordPress Deployment Options

  • Source Control Mode - Deploy WordPress from a Git repository. Ideal for version-controlled themes, plugins, and custom code.

  • Managed Mode - WordPress files are stored in a persistent 20GB volume. Install themes and plugins directly from the WordPress admin.

Initial Setup

When creating a WordPress application:

  1. Select "WordPress" as the application type

  2. Choose your WordPress version (supports versions 5.3 through latest)

  3. Select deployment mode (source control or managed)

  4. Add a MySQL database service

  5. Configure your domain settings

Database Configuration

Database credentials are automatically injected as environment variables:

  define('DB_NAME', getenv('WORDPRESS_DB_NAME'));
  define('DB_USER', getenv('WORDPRESS_DB_USER'));
  define('DB_PASSWORD', getenv('WORDPRESS_DB_PASSWORD'));
  define('DB_HOST', getenv('WORDPRESS_DB_HOST'));

WordPress Features

  • Multiple PHP versions (7.4 through 8.3)

  • Redis service support for object caching

  • Custom build commands for theme/plugin compilation

  • Health check configuration

  • Environment variable management

Persistent Storage

In managed mode:

  • 20GB persistent volume mounted at /var/www/html

  • All WordPress files persist across deployments

  • Direct plugin and theme installation from WordPress admin

  • No Git repository required

Backup and Recovery

  • Nightly automated backups

  • Full application state backup including database and files

  • Point-in-time recovery to new application instance

  • 30-day backup retention

Performance Optimization

  • Apache web server optimized for containers

  • PHP-FPM with configurable extensions

  • Redis object caching available

  • Custom PHP settings support