Is it possible to restore a 2017 site using the files from the folder?
Hello, I’m helping a friend to recover his website and i have no experience in wordpress. He sent me a zip file with all the content from the /var/www/html folder. There, i can see files like index.php, wp-config.php and folders like wp-admin and wp-content. The problem is that when i use a docker-compose file and using the folder as a volume, i just get a blank page when i try to access. I created a mysql database from scratch in GCP and pointed the wp-config.php to it and even created the environment variables in the wordpress access, but still no response. The website is from 2017. Have anybody succeded doing something close to it? I’ve done lots of others docker-compose.yml files and they are working fine so I’m assuming that the errors is not on them, ok?
This is my docker-compose.yml:
version: ‘3.3’
services:
wordpress:
image: wordpress
restart: always
container_name: wordpress
ports:
– “8001:80”
environment:
WORDPRESS_DB_HOST: my.ip.data.base
WORDPRESS_DB_USER: myuser
WORDPRESS_DB_PASSWORD: mypassword
WORDPRESS_DB_NAME: mydb
volumes:
– ./src:/var/www/html
مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد
منبع: انجمن وردپرس