The websites on php just show “File not found”
The strange thing is that all services are running. A reboot fixes it but then a few days later it happens again.
Generally, this happens due to incorrect permissions on the domain’s folder.
So for fixing the problem,
- First, Log in to Plesk GUI
- Then we have to install the Repair Kit extension
- For this we can go to
- Tools & Settings > Diagnose & Repair > File System > Repair
SSH
- First, we have to connect to the server via SSH
- Then run the following command to repair file permissions:
# plesk repair fs -y example.com
To fix permissions for all the domains:# plesk repair fs -y