title: Why PHP runs very slow over apache server
body: <p>I am having a bit performance problem with my PHP pages.  My application is combined of two different languages, PHP and JSP which are using apache and tomcat on top. My JSPs are very fast but php pages are like 10 times slower and their both using the same database too. I know JAVA supposed to be faster than PHP but my application is running extremely slow on PHP section BUT not on JSPs.  </p>
  
  <p>Also, I am 100% sure nothing is wrong with my PHP scripts but it looks like it is apache that takes long to process php and some static files. Please let me know if anyone has ever came across such problem. I don't mind posting my apache conf file if you need to have a look at it.</p>
  
  <p><b>Note:</b> Apache is configured to serve all the files apart from Servlets/JSPs and the JSPs are running faster even than some htmls. </p>
  
  <p>Thanks in advance.</p>