WordPress Applications
2 min read
Updated 1 month 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:
- Select "WordPress" as the application type
- Choose your WordPress version
- Select deployment mode (source control or managed)
- Add a MySQL database service
- 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.4)
- 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
Performance Optimization
- PHP-FPM with configurable extensions
- Redis object caching available
- Custom PHP settings support