php/mysql site running very slow

Discussion in 'PHP' started by madal, May 3, 2010.

  1. #1
    Hello all,

    I have a site which is running in php/mysql (php version 5.2.10 and mysql Ver 14.12 ) and hosted in apache version 2.2.3 (centos 5). When i open the site it takes about 6 minutes to load the page. And there are no cpu overload, network traffic and enough disk space. My feeling is there might be some apache/mysql configuration which making site slow. Any idea to tune the performance would be appericiated.

    Regds,
    Madal
     
    madal, May 3, 2010 IP
  2. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #2
    Does it run slow during a certain script being executed or always/throughout (no matter what code?).

    If its during a certain script, I'd suggest you benchmark your code to see where the problem occurs (may seem alittle tedious but is worth it to avoid problems in the future).
     
    danx10, May 3, 2010 IP
  3. madal

    madal Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The site is just running slow, no matter whats in it. my feeling is somewhere apache/mysql config. any help would be great
     
    madal, May 3, 2010 IP