i uploaded a php script that i bought from codecanyon in Digitalocean Lamp via puTTY and winSCP but trying to access the site in browser with the ip and domain and am getting this error mssg – The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@localhost. can anyone assist me?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
What I could suggest here is, before uploading the script, make sure to follow this tutorial here on how to setup Apache, PHP and MySQL on the server:
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-22-04
After that, you can upload your script, and follow the setup instructions from the vendor.
If you are still seeing any errors, I would recommend checking your error logs for more information rather than the generic error that you are seeing in your browser.
For example, you can check your Apache logs by running the following:
Feel free to share here logs here too.
Best,
Bobby