{"id":357,"date":"2010-11-10T19:35:00","date_gmt":"2010-11-10T19:35:00","guid":{"rendered":"http:\/\/www.otioti.com\/?p=357"},"modified":"2013-03-05T19:35:35","modified_gmt":"2013-03-05T19:35:35","slug":"iis-and-php-love-is-in-the-air","status":"publish","type":"post","link":"https:\/\/www.otioti.com\/?p=357","title":{"rendered":"IIS and PHP: love is in the air"},"content":{"rendered":"<p><span style=\"font-size: 13px;\">I never tried to install a Windows 2003 server with IIS and PHP, but yesterday, i finally assumed that all you can do with Apache with mod_proxy, mod_rewrite and mod_deflate and PHP, will multiply the potency opposite IIS.<\/span><\/p>\n<div>\n<p>First of all, try to install PHP using MSI installer that you could download from\u00a0<a href=\"http:\/\/www.php.net\/downloads\" target=\"_blank\">http:\/\/www.php.net\/downloads<\/a>, it makes nothing on your system \u2013 \u201cThanks God to invent visual interfaces, i won\u2019t forget the expresion \u2018Next, Next, Next, and\u2026. Finish\u2019\u201d \u2013 and your face start to frown and exclaim: \u201c***ing Windows!!!\u201d<\/p>\n<p>Later that, you achieve to view a page with &lt;?php phpinfo(); ?&gt;, but not, you see there are some modules missing and not loaded. So, where is the path to php.ini? Ok, it\u2019s on C:\\Windows\\php.ini. Let\u2019s copy it to that directory and uncomment extension to load them.<\/p>\n<p>Ok, let\u2019s start a Drupal installation\u2026 Oh! Gosh! When you drupal try to access to mysql to install DB you got: \u201cPHP has encountered an Access Violation at 01B2AC5A\u201d. Well, let\u2019s see again. I found this:<a href=\"http:\/\/www.experts-exchange.com\/Web\/Web_Languages\/PHP\/PHP_Windows\/Q_21059061.html\" target=\"_blank\">http:\/\/www.experts-exchange.com\/Web\/Web_Languages\/PHP\/PHP_Windows\/Q_21059061.html<\/a>. And it doesn\u2019t solve my problem. WTF!<\/p>\n<p>I never remember how difficult it\u2019s to install PHP on IIS. I never forget how easy is to do it on Gentoo:<\/p>\n<blockquote>\n<pre>emerge -q apache php<\/pre>\n<\/blockquote>\n<p>yes\u2026 don\u2019t forget activate USE\u2019s\u00a0<img decoding=\"async\" alt=\":P\" src=\"http:\/\/www.otioti.com\/wp-includes\/images\/smilies\/icon_razz.gif\" \/><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>I never tried to install a Windows 2003 server with IIS and PHP, but yesterday, i finally assumed that all you can do with Apache with mod_proxy, mod_rewrite and mod_deflate and PHP, will multiply the potency opposite IIS. First of all, try to install PHP using MSI installer that you could download from\u00a0http:\/\/www.php.net\/downloads, it makes [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[59,21],"class_list":["post-357","post","type-post","status-publish","format-standard","hentry","category-windows","tag-php","tag-windows-2"],"_links":{"self":[{"href":"https:\/\/www.otioti.com\/index.php?rest_route=\/wp\/v2\/posts\/357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.otioti.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.otioti.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.otioti.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.otioti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=357"}],"version-history":[{"count":1,"href":"https:\/\/www.otioti.com\/index.php?rest_route=\/wp\/v2\/posts\/357\/revisions"}],"predecessor-version":[{"id":358,"href":"https:\/\/www.otioti.com\/index.php?rest_route=\/wp\/v2\/posts\/357\/revisions\/358"}],"wp:attachment":[{"href":"https:\/\/www.otioti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.otioti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.otioti.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}