{"id":296,"date":"2011-01-18T14:10:23","date_gmt":"2011-01-18T14:10:23","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/2011\/01\/18\/installing-apache-web-server-on-windows-7\/"},"modified":"2017-12-25T11:20:18","modified_gmt":"2017-12-25T11:20:18","slug":"installing-apache-web-server-on-windows-7","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/installing-apache-web-server-on-windows-7\/","title":{"rendered":"Apache web server Installation Guide, know how to Install Apache web server on Windows 7?"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3907 aligncenter\" src=\"http:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2011\/01\/apache-web-server-on-window.png\" alt=\"apache-web-server-on-windows-7-installation-guide\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2011\/01\/apache-web-server-on-window.png 600w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2011\/01\/apache-web-server-on-window-300x200.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>After a quick <a href=\"http:\/\/notepad-plus-plus.org\/\" target=\"_blank\" rel=\"noopener\"><span style=\"text-decoration: underline;\"><span style=\"color: #0000ff;\">detour to install Notepad++<\/span><\/span><\/a>, I&#8217;m on my way to installing Magento. Before I can get into the meat of it, though, I do require a few prerequisites.<\/p>\n<p>From the <a href=\"http:\/\/www.magentocommerce.com\/knowledge-base\/entry\/magento-installation-cheat-sheet\" target=\"_blank\" rel=\"noopener\"><span style=\"text-decoration: underline;\"><span style=\"color: #0000ff;\">installation instructions<\/span><\/span><\/a>, installing Magento requires:<\/p>\n<ul>\n<li>Apache 1.3.x or Apache 2<\/li>\n<li>PHP 5.2.0 and above with Safe mode off<\/li>\n<li>MySQL 4.1.20 and above<\/li>\n<\/ul>\n<p>After <a href=\"http:\/\/www.google.ca\/#q=apache+2.2+windows+7\" target=\"_blank\" rel=\"noopener\"><span style=\"text-decoration: underline;\"><span style=\"color: #0000ff;\">a brief search<\/span><\/span><\/a>, I happened upon <a href=\"http:\/\/webdevcodex.com\/tutorial-installing-apache2-php5-mysql5-phpmyadmin3-windows-7-vista\/\" target=\"_blank\" rel=\"noopener\"><span style=\"text-decoration: underline;\"><span style=\"color: #0000ff;\">a very handy site<\/span><\/span><\/a> (Yes, my current dev machine runs Windows 7). No sense reinventing the wheel, so these instructions should do nicely.<\/p>\n<p>I&#8217;ve chosen the latest stable release, 2.2.17, <a href=\"http:\/\/www.pc-tools.net\/win32\/md5sums\/\" target=\"_blank\" rel=\"noopener\"><span style=\"text-decoration: underline;\"><span style=\"color: #0000ff;\">MD5-verified<\/span><\/span><\/a> and ready to install.<\/p>\n<p>Always one to put the right foot forward&#8230; The first thing I&#8217;ve done is to immediately download the wrong version (src) instead of the neatly prepped installer (msi) as per the instructions. Round 1 goes to my eagerness, but after a neat revisit to the Apache download page, I&#8217;m off in the right direction.<\/p>\n<p>After kicking off the Apache installer, my first instinct was to twitch at the frozen installer progress (Did the instructions forget about that ghastly Windows 7 User Account Control?), but after only a brief pause, the UAC prompt has displayed and the Apache web server installation is back on track.<\/p>\n<p>None the worse for wear, time for the next step.<\/p>\n<h2>PHP<\/h2>\n<p>I&#8217;ve pretty much kaboshed most of <a href=\"http:\/\/webdevcodex.com\/tutorial-installing-apache2-php5-mysql5-phpmyadmin3-windows-7-vista\/#installphp\" target=\"_blank\" rel=\"noopener\"><span style=\"text-decoration: underline;\"><span style=\"color: #0000ff;\">the PHP installation instructions<\/span><\/span><\/a>, mostly due to its avoidance of the handy PHP for Windows installer. Pointing the installer to the Apache web server&#8217;s cgi-bin folder seems like a good idea.<\/p>\n<p>A configuration change&#8230;<\/p>\n<p>; Directory in which the loadable extensions (modules) reside.<br \/>\n; http:\/\/php.net\/extension-dir<br \/>\n; extension_dir = &#8220;.\/&#8221;<br \/>\n; On windows:<br \/>\nextension_dir = &#8220;ext&#8221; ; Uncommented (removed the semicolon at the beginning of) this line<\/p>\n<p>&#8230; and I&#8217;m <a href=\"http:\/\/webdevcodex.com\/tutorial-installing-apache2-php5-mysql5-phpmyadmin3-windows-7-vista\/#installphp\" target=\"_blank\" rel=\"noopener\"><span style=\"text-decoration: underline;\"><span style=\"color: #0000ff;\">back to the instructions<\/span><\/span><\/a>. After an update to my environment variables, looks like it&#8217;s time for a reboot&#8230; and sleep.<\/p>\n<p>I&#8217;ll be leaving the MySQL install (and testing Apache web server and PHP) &#8217;til tomorrow.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After a quick detour to install Notepad++, I&#8217;m on my way to installing Magento. Before I can get into the meat of it, though, I do require a few prerequisites. From the installation instructions, installing Magento requires: Apache 1.3.x or Apache 2 PHP 5.2.0 and above with Safe mode off MySQL 4.1.20 and above After&#8230;<\/p>\n","protected":false},"author":1,"featured_media":3907,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[2],"tags":[420,2774,2773,2771,2775,254,1122,545,2772,237,593,399,230,732,1452,2769,2770,304],"class_list":["post-296","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorised","tag-apache","tag-apache-web-server-configuration-on-windows-7","tag-apache-web-server-installation-on-windows-7","tag-apache-web-server-installation-tutorial","tag-apache-web-server-setup-on-windows-7","tag-configure","tag-guide","tag-how","tag-how-to-install-apache-web-server-on-windows-7","tag-install","tag-process","tag-server","tag-setup","tag-steps","tag-ways","tag-web-server","tag-web-server-installation-guide","tag-windows-7"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=296"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/296\/revisions"}],"predecessor-version":[{"id":3908,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/296\/revisions\/3908"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/3907"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}