I installed LAMP using
sudo tasksel install lamp-server
I configured PhpStorm to use /var/www folder as root deployment folder, also specified http://localhost
as web-server root url:
When I deploy my index.html page with "helloworld" to my server - page is not found, neither is it in /var/www. Why?
This applies to Ubuntu 12.10 (may work with older versions)
First you will need to check that Apache is really using
/var/www
as the website root:If the path stated in the output is different, you should change that in PHPStorm.
Also you may not be able to place your php files there because the permissions on that folder. To solve this, jst change the permission of
/var/www
(or the correct path) to your current user:where
<user>
is your username.try going to "mapping" and set the mapping options