I have installed xampp to Ubuntu 12.04. I have put my project in the folder /opt/lampp/htdocs/project_is_here
When I type in the browser localhost/soap/php
i've experinced the same problem and this is my solution :
1.in the terminal
cd /opt/lampp/etc/
subl httpd.conf
3.when the configuration file opened in sublime you have to check if these three blocks are as follow :
AllowOverride All Require all granted
================================
Options Indexes FollowSymLinks ExecCGI Includes AllowOverride All Require all granted
================================
User your username Group your group name
for example :
my username is mhmd also my group name is mhmd
User mhmd Group mhmd
and i hope it will help you ..