403 Forbidden Error When I add PHP file and I am reverting php version to 7.4

Hello, I am trying to access my website when i add index.html it works fine the website opens but when i add index.php it throws 403 error. The php version which i am using is 7.4 and i cannot access my website, i have tried everything, also changed the permissions of the page but still not working.

Please help me out here.

Welcome @etry548 Happy you are here

The 403 HTTP Status error code indicates that the server understood the request but refuses to authorize it which is most cases is because of file permissions. You need to fix file permissions by clicking “Fix Permissions” on file manager

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.