Question

I changed default html file on lamp and getting 'Internal server error'.

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 :)

Subscribe
Share

Submit an 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.

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