{"id":416,"date":"2008-12-17T12:49:30","date_gmt":"2008-12-17T20:49:30","guid":{"rendered":"http:\/\/www.codebelay.com\/blog\/?p=416"},"modified":"2008-12-17T16:35:32","modified_gmt":"2008-12-18T00:35:32","slug":"installing-fcgi-on-iis-60-with-php-528","status":"publish","type":"post","link":"https:\/\/www.codebelay.com\/blog\/2008\/12\/17\/installing-fcgi-on-iis-60-with-php-528\/","title":{"rendered":"Installing fcgi on IIS 6.0 with PHP 5.2.8"},"content":{"rendered":"<ul>\n<li>Install MySQL<\/li>\n<li>Download <a href=\"http:\/\/us3.php.net\/get\/php-5.2.8-win32-installer.msi\/from\/a\/mirror\">PHP 5.2.8 win32 installer<\/a><\/li>\n<li>Install PHP 5.2.8<\/li>\n<\/ul>\n<figure id=\"attachment_417\" aria-describedby=\"caption-attachment-417\" style=\"width: 499px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.codebelay.com\/blog\/wp-content\/uploads\/2008\/12\/image001.png\" alt=\"Choose fcgi iis\" title=\"Option to Pick\" width=\"499\" height=\"385\" class=\"size-full wp-image-417\" srcset=\"https:\/\/www.codebelay.com\/blog\/wp-content\/uploads\/2008\/12\/image001.png 499w, https:\/\/www.codebelay.com\/blog\/wp-content\/uploads\/2008\/12\/image001-300x231.png 300w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><figcaption id=\"caption-attachment-417\" class=\"wp-caption-text\">Choose IIS FastCGI<\/figcaption><\/figure>\n<figure id=\"attachment_420\" aria-describedby=\"caption-attachment-420\" style=\"width: 499px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.codebelay.com\/blog\/wp-content\/uploads\/2008\/12\/image002.png\" alt=\"Be sure to install extensions needed for WordPress\" title=\"Extensions to Install\" width=\"499\" height=\"385\" class=\"size-full wp-image-420\" srcset=\"https:\/\/www.codebelay.com\/blog\/wp-content\/uploads\/2008\/12\/image002.png 499w, https:\/\/www.codebelay.com\/blog\/wp-content\/uploads\/2008\/12\/image002-300x231.png 300w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><figcaption id=\"caption-attachment-420\" class=\"wp-caption-text\">Be sure to install extensions needed for WordPress<\/figcaption><\/figure>\n<p>Select these extensions:<br \/>\nGD2<br \/>\nGettext<br \/>\nMulti-Byte String<br \/>\nMimetypec<br \/>\nMySQL<br \/>\nMySQLi<br \/>\nPDO\/MySQL<br \/>\nSQLite (in case MySQL fails)<br \/>\nXML-RPC (WordPress needs this)<\/p>\n<p>Be sure to install Pear and the PHP Manual, too.<\/p>\n<p>Next step: Install FastCGI with the <a href=\"http:\/\/www.microsoft.com\/downloads\/details.aspx?FamilyID=2d481579-9a7c-4632-b6e6-dee9097f9dc5&#038;displaylang=en\">installer<\/a>.<\/p>\n<p>For more info check out <a href=\"http:\/\/www.iis.net\/downloads\/default.aspx?tabid=34&#038;g=6&#038;i=1521\">this page<\/a><\/p>\n<p>Also check out info <a href=\"http:\/\/learn.iis.net\/page.aspx\/247\/using-fastcgi-to-host-php-applications-on-iis-60\/\">how to install FastCGI on IIS 6.0<\/a>.<\/p>\n<p>Install <a href=\"http:\/\/www.sitebuddy.com\/PHP\/Accelerators\/eAccelerator_windows_binaries_builds\">eAccelerator<\/a>.<\/p>\n<p>My php.ini is below:<\/p>\n<div style=\"color: #fff; background: #000; padding: 5px;\">\n[PHP]<br \/>\ncgi.force_redirect=0<br \/>\nextension_dir=&#8221;C:\\Program Files\\PHP\\ext&#8221;<br \/>\n[PHP_GD2]<br \/>\nextension=php_gd2.dll<br \/>\n[PHP_GETTEXT]<br \/>\nextension=php_gettext.dll<br \/>\n[PHP_MBSTRING]<br \/>\nextension=php_mbstring.dll<br \/>\n[PHP_MIME_MAGIC]<br \/>\nextension=php_mime_magic.dll<br \/>\n[PHP_MYSQL]<br \/>\nextension=php_mysql.dll<br \/>\n[PHP_MYSQLI]<br \/>\nextension=php_mysqli.dll<br \/>\n[PHP_PDO]<br \/>\nextension=php_pdo.dll<br \/>\n[PHP_PDO_MYSQL]<br \/>\nextension=php_pdo_mysql.dll<br \/>\n[PHP_SQLITE]<br \/>\nextension=php_sqlite.dll<br \/>\n[PHP_XMLRPC]<br \/>\nextension=php_xmlrpc.dll<\/p>\n<p>;eAccelerator<br \/>\nextension=&#8221;eAccelerator.dll&#8221;<br \/>\neaccelerator.shm_size=&#8221;150&#8243;<br \/>\neaccelerator.cache_dir=&#8221;C:\\cache&#8221;<br \/>\neaccelerator.enable=&#8221;1&#8243;<br \/>\neaccelerator.optimizer=&#8221;1&#8243;<br \/>\neaccelerator.check_mtime=&#8221;1&#8243;<br \/>\neaccelerator.debug=&#8221;0&#8243;<br \/>\neaccelerator.filter=&#8221;&#8221;<br \/>\neaccelerator.shm_max=&#8221;0&#8243;<br \/>\neaccelerator.shm_ttl=&#8221;3600&#8243;<br \/>\neaccelerator.shm_prune_period=&#8221;1800&#8243;<br \/>\neaccelerator.shm_only=&#8221;1&#8243;<br \/>\neaccelerator.compress=&#8221;0&#8243;<br \/>\neaccelerator.compress_level=&#8221;9&#8243;<br \/>\neaccelerator.keys = &#8220;shm_only&#8221;<br \/>\neaccelerator.sessions = &#8220;shm_only&#8221;<br \/>\neaccelerator.content = &#8220;shm_only&#8221;\n<\/p><\/div>\n<p>My fcgiext.ini in %WINDOWS%\/system32\/inetsrv is below:<\/p>\n<div style=\"color: #fff; background: #000; padding: 5px;\">\n<p>[Types]<br \/>\nphp=C:\\PROGRA~1\\PHP\\php-cgi.exe<\/p>\n<p>[C:\\PROGRA~1\\PHP\\php-cgi.exe]<br \/>\nQueueLength=999<br \/>\nMaxInstances=20<br \/>\nInstanceMaxRequests=500<br \/>\nIdleTimeout=200<br \/>\nRequestTimeout=60\n<\/p><\/div>\n<p>The performance you get on a 2GhZ processor with 1GiB of RAM is decent:<\/p>\n<pre>\r\nTransactions:                     662 hits\r\nAvailability:                 100.00 %\r\nElapsed time:                 123.15 secs\r\nData transferred:              21.96 MB\r\nResponse time:                  8.29 secs\r\nTransaction rate:               5.38 trans\/sec\r\nThroughput:                     0.18 MB\/sec\r\nConcurrency:                   44.55\r\nSuccessful transactions:         662\r\nFailed transactions:               0\r\nLongest transaction:           13.25\r\nShortest transaction:           4.23\r\n<\/pre>\n<p>5.38 transactions per second is 464832 hits per day.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install MySQL Download PHP 5.2.8 win32 installer Install PHP 5.2.8 Select these extensions: GD2 Gettext Multi-Byte String Mimetypec MySQL MySQLi PDO\/MySQL SQLite (in case MySQL fails) XML-RPC (WordPress needs this) Be sure to install Pear and the PHP Manual, too. Next step: Install FastCGI with the installer. For more info check out this page Also [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,56],"tags":[],"class_list":["post-416","post","type-post","status-publish","format-standard","hentry","category-how-to","category-php"],"_links":{"self":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/posts\/416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/comments?post=416"}],"version-history":[{"count":0,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/posts\/416\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/media?parent=416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/categories?post=416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/tags?post=416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}