OLLE
By:
OLLE

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

November 5, 2017 144 views
Apache LAMP Stack Ubuntu 16.04

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

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
Have another answer? Share your knowledge.