내용으로 건너뛰기

Wordpress PHP error log access AWS Lightsail Multisite WP

0

I installed a plugin on my WordPress multisite website. It's not working correctly, so the developer asked for my PHP error logs. How do I obtain them? I'm running my WordPress on a Lightsail instance. I tried using SSH with some code I found through a Google search, but it didn't work. Plus, I'm a newbie who wants to do it yourself. Thanks in advance

질문됨 2년 전1.3천회 조회

2개 답변
1
수락된 답변

Hello.

If you just want to display the log for now, I think you can do it using the method introduced in the blog below.
https://precisefuture.com/en/tutorial/wordpress-logs-in-aws-lightsail/

If you want to download the log file, you will need to connect to Lightsail using an SSH command, copy the error log to the Linux user's home directory, and retrieve it using SCP, etc.
https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-ssh-using-terminal.html

I think the steps in the following document will be helpful for copying files to your home directory.
https://repost.aws/knowledge-center/lightsail-permission-denied-transferring

I think you could download it by copying it to your home directory and running the following SCP command on your PC.

scp -i lightsail-key.pem bitnami@lightsail-instance-public-ip:/home/bitnami/error_log ./
전문가

답변함 2년 전

전문가

검토됨 2년 전

0

Thank you, I got them

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠