title: How to configure PHP under Apache web server in GENTOO Operating System?
body: <p>is there anyone who knows how to install / configure php under apache?</p>
  
  <p>I have emerge php apache both.
  I wanted to use mod_php for apache in GENTOO OS.</p>
  
  <p>php temp.php</p>
  
  <p>command line runs fine, but <a href="http://localhost/temp.php" rel="nofollow noreferrer">http://localhost/temp.php</a> is not executing on web server instead it shows the content of the php code.</p>