Hello,

I made a droplet with lamp application. html file in /www folder, which is default one has been opening very well.
but right after i change this file to index.php that i want to use, internal server error is occuring on browser when i access to my page.
is it because of the name of file or am I changing the file at wrong directory?
Please help me if anybody know this problem. Thanks :)

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.

×
1 answer

It might be worth posting the exact error message and details it displays.

Try this to see if it’s a permissions issue:

$ sudo chmod -R 755 /var/www/index.php
Submit an Answer