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.
Ready to get started with WordPress VIP? Contact us
Showing page 5 of 17
When preparing for a PHP version update, creating automated tests can be useful for identifying incompatibilities with the updated version of PHP.
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.
Installing PHPCS at the project level limits the availability of PHPCS to only from within that project directory. Following these instructions will install:
Installing PHPCS globally makes PHPCS available for use from anywhere on a local machine. Following these instructions will install:
Running a PHPCS scan against code, particularly third-party plugins and themes, can provide useful and actionable feedback on existing warnings and errors within the code.
To migrate the content of a WordPress site to an environment on the WordPress VIP Platform, a SQL database file must be exported from the non-WPVIP site. Not all of the methods described on this page are available on all hosting platforms. Refer to the documentation for the existing site’s hosting platform to identify which methods are available and access more information on how to use them.
Full or partial SQL database files can be imported to a VIP Platform WordPress environment using VIP-CLI.
If a database file for import contains domain name values that do not match the VIP Platform destination site’s domain name, a --search-replace
operation must be done before or during import.
A shareable link to a Database Backup copy that is available for download can be retrieved from the VIP Dashboard.
In addition to the automated database backups that are generated for WordPress environments, a new backup can be created on demand. Some limitations are in place to the frequency and total number of backup files that can be created within a window of time.