title: 403 Forbidden with php in worker mode. Only to php files from browser
body: <p>First off let me start by saying that yes I have searched for this in google and in stackoverflow specifically, I have found many answers and tried them all. At this point I believe my only resource is posting the question myself, even if the scenario sounds repeated please be so kind as to try to help.</p>
  
  <p>The situation is quite basic, on Ubuntu desktop 10.04 I set up apache via Synaptic and Php5 according to this guide and <a href="http://ubuntuforums.org/showthread.php?t=1038416" rel="nofollow">its spin-off here</a>.
  At this point if I go on command line and call a php script it works, for example:  </p>
  
  <pre><code>  php test.php
  </code></pre>
  
  <p>outputs my hello world without any problem. But if I go to firefox and point to test.php it will show the 403 error Forbidden...</p>
  
  <p>I have changed ownership on /var/, /var/www/ and /var/www/test.php to every variable I can think of (www-data [apache runs as this user], purefan [my regular user], root) it makes no difference, I have also changed permissions several times 777, 0777 (just to be safe), 644, 755, no change.
  from CLI I got the phpinfo into a file and added it <a href="http://pastebin.com/Lx5rKYgV" rel="nofollow">here</a>.</p>
  
  <p>If Im not mistaken the problem is happening when Apache calls the php interpreter, as when I go to <a href="http://localhost/index.php" rel="nofollow">http://localhost/index.php</a> it shows apache's default "It Works!" page, but if I add php content to that file it simply gets ignored, no error is shown though (also checked error log and syslog).</p>
  
  <p>So please, if you have any suggestion let me know, this is not a life or dead thing but would really like to set up using worker instead of prefork.</p>
  
  <p>Thank you for your time</p>