You can get started with your new Wordpress site in a few clicks.
- Add a VPS profile
- Provision a server with PHP 7.2/7.3/7.3 and MySQL 5.7/8 or MariaDB
- Create a Wordpress site
- Navigate to your Wordpress sites URL and complete the setup process
Cleaver sets up Wordpress and connects it to the database that is installed on your server during provisioning.
Advanced setup configurations
Sometimes, you may need to add a bit more juice to WordPress by editing PHP configurations. For example, PHP defaults uploads at a maximum of 2 mb. That is to encourage better performance with smaller files sizes; however, often times you may want to download and install a plugin that exceeds this limit.
Edit PHP configurations
- In Cleaver, navigate to the server where you want to edit PHP configs
- Select Services
- Select wrench icon next to the PHP version you wish to edit
- Edit the settings to your specifications and select update when finished
This action will update the settings in the php.ini file.
Increase file upload example
To increase the upload limits, you will likely want to increase the max_input_time, upload_max_filesize, and memory_limit variables. Such as:
- max_input_time = 900
- upload_max_filesize = 128m
- memory_limit = 256m
After updating these configurations, the next thing to do is match nginx file upload limits.
In the server's services tab -
- Add client_max_body_size 128m;
- Save file
- Restart nginx
This then should allow you to upload larger file sizes to your WordPress site. If you are curious as to if the configs were updated and to what other configs you might want to alter for your WordPress site, Wordpress has a section that displays current configs located in the WordPress admin dashboard > tools > site health > info > server tab.