500 Internal Server Error on shared hosting

Hi, I am trying to install owncloud on shared hosting, the installation goes well until I have to create an admin account; when I click finish it tries to redirect me to example.com/index.php and that’s where I get “500 Internal Server Error”
If I go back I have to retype the admin and username as if I didn’t do it before, and that just keeps giving me the same error