CiviCRM 5.4.0 Install "You do not have permission to access this page"
Sometimes even i face similar problem when i try to install CiviCRM. But i make it work by commenting the line that throws this error.

You can find quick solution here.