1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

PHP Sites are VERY slow !

Discussion in 'Plesk for Windows - 8.x and Older' started by Toepes, Sep 23, 2005.

  1. Toepes

    Toepes Guest

    Since a fresh install of the server with windows 2003 and Plesk 7.5.4 I noticed that PHP things are very slow.

    Also installing from the applicationvault is extreme slow.

    I can't find anything that could couse this.

    anyone a suggestion where to look ?:confused:
  2. Mr.Incredible

    Mr.Incredible Guest


    PHP works as php.exe file, so I guess you have to check your antivirus settings.
  3. Toepes

    Toepes Guest

    This tip helps! PHP sites are some faster since i excluded php.exe from scannig.
    At least the plesk interface now loads much faster.

    Although it still looks as PHP things are sloweddown somehow.

    Thanks for your help
  4. eara01

    eara01 Guest

    We had the same problem (went from installing Apache/PHP manually to using Plesk).

    We ended up enabling output_buffers in php.ini...an amazing difference.

    There is, of course, a small risk involved (small to us, since our sites reuse the same php pages again and again and again) in that the buffer might get large and cause cache problems.

    Anyway, here's a link to more details so you can see if this'll work for you:

  5. Toepes

    Toepes Guest

    Output buffering was enabled I assume it is done when plesk was installed.

    Could it be that there is another Php.ini that must be changed ?
  6. eara01

    eara01 Guest

    output buffering was not enabled on our install - we had to enable it.

    The php.ini in the \windows folder (for us c:\windows\php.ini) is the one. There are php.ini files in other places, but this one is what php uses when loading.

    I believe you can set specific php.ini files for each domain independently, in which case, those values will override the main php.ini settings...but only for that domain. To do this, you make a copy of the php.ini file, copy it into a domain folder (can't remember which one) and change it to suit the needs of that domain.

    So...if one of the 'domain php.ini' files is there, and output buffering is off on that one, it'll override the main php.ini settings.

    Hope this helps.
  7. Toepes

    Toepes Guest

    Ok i think i have a lot to search for. Let you know the results !
  8. sean2078

    sean2078 Guest

    I recently performed this operation and I did notice an increase in performance. The site is still not lightning fast, but it is definitely much faster than it was. My default installation was working fine, but every page load took about 2-3 seconds. Now, each page load seems to be about 1.0s. Still slow, but good enough for now.

    Thanks for the tip.