'How to access the wp-config.php file (location) after a WordPress "Click To Deploy" on Google Compute Engine?
I have created a virtual machine on Google Cloud Platform that is running Wordpress, which was setup using Wordpress click-to-deploy: https://console.cloud.google.com/marketplace/details/click-to-deploy-images/wordpress?pli=1&_ga=2.72191571.-1784804083.1544815132&_gac=1.153409866.1545571350.Cj0KCQiAgf3gBRDtARIsABgdL3mwngvHYtz5GvkiA6vsknZDGdM8JIDPByT7v2O4m0tkvXXibVI0trAaAi37EALw_wcB
However, I cannot find my wp-config.php anywhere on GCP or in the wordpress dashboard platform.
How do I access this file in order to update it?
this is a copy/adaptation of this original question : Locate wp-config.php file after Word Press Click To Deploy on Google Compute Engine For Migration
but the answer given to that question pertains to the migration of files, not to the locating and updating of the wp-config.php file, so does not respond to my question.
thanks
Solution 1:[1]
To locate this file you can:
- ssh into your instance (from the developer console for example)
- navigate to the /var/www/html directory by running
cd /var/www/html/
You'll find there all the files related to your Wordpress installation
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | LundinCast |
