Skip to content

Tag: how-to

Showing page 7 of 19

Rollbacks in the VIP Dashboard

As an alternative to reverting a pull request in GitHub, a rollback to the image of a previous deployment can be performed in the Deployments panel of the VIP Dashboard.

The /uploads path structure

All of the contents of a WordPress site's /wp-content/uploads/ directory are mapped to the VIP File System.

Overwriting and versioning files

Files that are stored on the VIP File System can be overwritten programmatically or with VIP-CLI. Overwriting a file is useful for eliminating the need to set a redirect to a newer version of the file.

PHPCS scans for PHP version compatibility

Before a PHP version is updated on a WordPress VIP Platform environment, all PHP files in an application’s GitHub repository should be scanned with PHPCS for potential incompatibility issues, and the identified issues should be resolved.

Static analysis tools for PHP version compatibility

Before a PHP version is updated on a WordPress VIP Platform environment, all PHP files in an application’s GitHub repository should be scanned for potential incompatibility issues, and the identified issues should be resolved.

Automated tests for PHP version compatibility

When preparing for a PHP version update, creating automated tests can be useful for identifying incompatibilities with the updated version of PHP.

Test a PHP update on a VIP Platform environment

After application code has been scanned locally for an updated version of PHP, and identified incompatibilities have been fixed, test the performance of the updated code on a WordPress VIP Platform environment.

Install PHPCS globally

Install PHPCS globally so that PHPCS is available from anywhere on the local machine.