Results 1 to 6 of 6
  1. #1

    Windows Server 2003 Reduce PHP Cpu Load

    Hi Everyone,

    1) Use PHP as isapi module
    2) Open Internet Information Services (IIS) Manager > Right Click On "Web Sites" select properties > Click Service Tab > Open HTTP Compression > Select Compress Application Files and Compress Static Files

    3) Use eAccelerator (PHP accelerator, optimizer, and dynamic content cache) with This options;

    eaccelerator.shm_size="64"
    eaccelerator.cache_dir="c:\tmp\mmcache"
    eaccelerator.enable="1"
    eaccelerator.optimizer="1"
    eaccelerator.check_mtime="1"
    eaccelerator.debug="0"
    eaccelerator.filter=""
    eaccelerator.shm_max="0"
    eaccelerator.shm_ttl="0"
    eaccelerator.shm_prune_period="0"
    eaccelerator.shm_only="0"
    eaccelerator.compress="1"
    eaccelerator.compress_level="9"
    eaccelerator.keys = "shm"
    eaccelerator.sessions = "shm"
    eaccelerator.content = "shm"

    4) Don't load this extensions,
    extension=php_mbstring.dll
    extension=php_domxml.dll
    extension=php_xslt.dll

    Only use this Extensions in php.ini
    extension=php_sqlite.dll
    extension=php_curl.dll
    extension=php_gd2.dll
    extension=php_gettext.dll
    extension=php_iconv.dll
    extension=php_imap.dll
    extension=php_mssql.dll
    extension=php_sockets.dll
    extension="eaccelerator.dll"
    upload_tmp_dir= "C:\WINDOWS\Temp"

    Note: This Settings tested on Windows Server 2003 SP2 IIS6 with PHP v4.4.7

  2. #2
    Um..., what?

  3. #3
    Join Date
    Apr 2005
    Location
    Cochin
    Posts
    2,446
    lol..the extensions you have specified are few of the most used ones and you cannot just have them disabled
    Sam
    Supportlobby.com - Expertise in Windows/Linux server support, IaaS and PaaS Management
    Spiralbean.com - Custom Software Development
    Email: exec @ activelobby.net | Skype: unni_active

  4. #4
    Join Date
    Mar 2007
    Location
    UK
    Posts
    852
    Specficly "extension=php_mbstring.dll" will cause problems in PHPMYAdmin and many other php bases software if you dont load this module.

  5. #5
    Join Date
    Nov 2005
    Posts
    223
    run php as fastCGI

  6. #6
    Join Date
    Nov 2002
    Location
    WebHostingTalk
    Posts
    8,878
    * Moved to Technical and Security Issues....

    Sirius
    I support the Human Rights Campaign!
    Moving to the Tampa, Florida area? Check out life in the suburbs in Trinity, Florida.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •