Hello.Please describe as much as possible what steps are you taking?
Do you test on hosting?If not, you need hosting.Without a server, this does not work.
What version of PHP on your hosting?I recommend 7.1.
Here is the documentation. It can help.
P.S. Here are paid video tutorials.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at *** to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
It seems like your server might not be set up correctly if you're getting an Error 500 on this specific operation.
In this case, it would be best to proceed this way:
Contact your hosting support and ask them to take a look at the Error Log of your server. They should be able to see the exact issue that is triggering the Error 500. Once you have that, report it here to me so that I might analyze it further for you
Please keep me posted on this