I've set up a development environment in which I have a LAMP stack running on Ubuntu 14.04 LTS (runs on raspberry PI 2 B) and NetBeans on my PC and laptop. The problem starts when Im trying to execute my PHP code using FTP - all files are successfully uploading on the server but the server won't open it. As soon as index.php is uploaded all I'm getting is a blank page and when I remove it everything back to normal (when Im typing ip address Apache shows me the files).
Sorry I know that this issue circulating around this forum for quite a long but I literally went though most of the solution suggested and non of the work.
Here is what I did so far:
Permissions and ownership for /var/www/html/ are set for www-data and the
local user are set so they all can read,write,execute.
In mods-enabled > dir.conf following line was edited: DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
Any help on this will be much appreciated.