Computersnyou

[how to] setting up php development environment in windows using xampp

Posted on  4/13/2012



Guide for downloading and configuring xampp in windows ,
intro :  xampp is open source software package include Apache MySQL PHP framework with lots of other tools ,
xampp pakage includes


  • Apache 
  • MySQL 
  • PHP 
  • phpMyAdmin 
  • FileZilla FTP Server 
  • Tomcat 
Steps 

1 :  download xampp
first download xampp , you can download it from sourceforge.net or its own download page 

download page

<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;">
  <tr>
    <td style="text-align: center;">
      <a class="download_button" href="http://jaist.dl.sourceforge.net/project/xampp/BETAS/xampp-win32-1.8.0-beta2-VC9.7z" imageanchor="1" style="margin-left: auto; margin-right: auto;" target="_blank"><span style="font-family: 'Trebuchet MS', sans-serif;"><img border="0" src="http://1.bp.blogspot.com/-Jr2RJZfQ2RU/TqcrJMxeyWI/AAAAAAAABI8/CEtUCqaO60o/s1600/s1+%25281%2529.png" /></span></a>
    </td>
  </tr>
  
  <tr>
    <td class="tr-caption" style="text-align: center;">
      <span style="font-family: 'Trebuchet MS', sans-serif;">Direct download link for xampp beta version</span>
    </td>
  </tr>
</table>
download 7 zip ( in case you downloaded 7zip version of xampp)

<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;">
  <tr>
    <td>
      <a class="download_button" href="http://jaist.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920.exe" imageanchor="1" style="margin-left: auto; margin-right: auto;" target="_blank"><span style="font-family: 'Trebuchet MS', sans-serif;"><img border="0" src="http://1.bp.blogspot.com/-Jr2RJZfQ2RU/TqcrJMxeyWI/AAAAAAAABI8/CEtUCqaO60o/s1600/s1+%25281%2529.png" /></span></a>
    </td>
  </tr>
  
  <tr>
    <td class="tr-caption" style="font-size: 13px;">
      <span style="font-family: 'Trebuchet MS', sans-serif;">Download 7zip</span>
    </td>
  </tr>
</table>

<p>
</p>

<div class="separator" style="clear: both; text-align: center;">
</div>

<ul style="text-align: left;">
  <li>
    <span style="font-family: 'Trebuchet MS', sans-serif;">install 7 zip&nbsp;</span>
  </li>
  <li>
    <span style="font-family: 'Trebuchet MS', sans-serif;">right click on&nbsp;xampp-win32-1.8.0-beta2-VC9.7z</span>
  </li>
  <li>
    <span style="font-family: 'Trebuchet MS', sans-serif;">and choose 7zip extract here</span>
  </li>
</ul>

<p>
  <span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span>
</p>

<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;">
  <tr>
    <td style="text-align: center;">
      <a class="download_button" href="http://jaist.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920.exe" imageanchor="0" style="margin-left: auto; margin-right: auto;"><span style="font-family: 'Trebuchet MS', sans-serif;"><img border="0" class="download_button" height="452" src="http://4.bp.blogspot.com/-11dvz_A677E/T4buvVQDqWI/AAAAAAAACOg/Bq-KrYffC6s/s640/extracting_xampp_with_7zip.png" width="640" /></span></a>
    </td>
  </tr>
  
  <tr>
    <td class="tr-caption" style="text-align: center;">
      <span style="font-family: 'Trebuchet MS', sans-serif;">extract xampp 7zip file with 7zip&nbsp;</span>
    </td>
  </tr>
</table>
  • copy and paste extracted directory into local hard drive root folder ( C: )
  • done xampp installed
<div>
  <span style="font-family: 'Trebuchet MS', sans-serif;">configuration part :&nbsp;</span>
</div>
  • start xampp control pannel
     
  <li>
    <span style="font-family: 'Trebuchet MS', sans-serif;">open browser and navigate to http://localhost</span>
  </li>
  <li>
    <span style="font-family: 'Trebuchet MS', sans-serif;">select your language&nbsp;</span>
  </li>
  <li>
    <span style="font-family: 'Trebuchet MS', sans-serif;">and click on status from left side&nbsp;</span>
  </li>
  <li>
    <span style="font-family: 'Trebuchet MS', sans-serif;">click on security tab 
    
    <div style="text-align: left;">
      <a href="http://1.bp.blogspot.com/-EivgVUVud6E/T4hCw0qtszI/AAAAAAAACQQ/K_4AcJLzDhk/s1600/xamp3.png" imageanchor="1" style="clear: left; float: left; font-family: 'Times New Roman'; margin-bottom: 1em; margin-right: 1em; text-align: center;"><img border="0" height="360" src="http://1.bp.blogspot.com/-EivgVUVud6E/T4hCw0qtszI/AAAAAAAACQQ/K_4AcJLzDhk/s640/xamp3.png" width="640" /></a>
    </div>
    
    <p>
      </span></li> 
      
      <li>
        <span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span>
      </li>
      <li>
        <span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span>
      </li>
      <li>
        <span style="font-family: 'Trebuchet MS', sans-serif;">click on link highlighted in picture to secure your xampp installation&nbsp;</span>
      </li>
      <li>
        <span style="font-family: 'Trebuchet MS', sans-serif;">set your mysql root password&nbsp;</span>
      </li>
      <li>
        <span style="font-family: 'Trebuchet MS', sans-serif;">and xampp local password to avoid&nbsp;unauthorized&nbsp;access&nbsp;</span>
      </li></ul> 
      
      <p>
        <span style="font-family: 'Trebuchet MS', sans-serif;">done !&nbsp;</span>
      </p>
      
      <p>
        <a href="http://2.bp.blogspot.com/-c4BKl2lEjDE/T4hDi1Jg52I/AAAAAAAACQY/1Y4_tIfAK_c/s1600/after_Secure.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;"><img border="0" height="360" src="http://2.bp.blogspot.com/-c4BKl2lEjDE/T4hDi1Jg52I/AAAAAAAACQY/1Y4_tIfAK_c/s640/after_Secure.png" width="640" /></a><span style="font-family: 'Trebuchet MS', sans-serif;">&nbsp;</span>
      </p>
      
      <p>
        <span style="font-family: 'Trebuchet MS', sans-serif;">setting up site folder&nbsp;</span>
      </p>
      
      <ul style="text-align: left;">
      </ul></div> 
      
      <div>
        <div class="separator" style="clear: both; text-align: center;">
        </div>
        
        <div class="separator" style="clear: both; text-align: center;">
        </div>
        
        <ul style="text-align: left;">
          <li>
            <span style="font-family: 'Trebuchet MS', sans-serif;">go to c:xampp</span>
          </li>
          <li>
            <span style="font-family: 'Trebuchet MS', sans-serif;">open htcdocs folder</span>
          </li>
          <li>
            <span style="font-family: 'Trebuchet MS', sans-serif;">create new folder &#8216;myawesomesite&#8217;</span>
          </li>
          <li>
            <span style="font-family: 'Trebuchet MS', sans-serif;">and put all your&nbsp;development&nbsp; files inside that</span>
          </li>
          <li>
            <span style="font-family: 'Trebuchet MS', sans-serif;">and browse http://localhost/myawesomesite 
            
            <p>
              <a href="http://2.bp.blogspot.com/-_fPm0F2zHAY/T4hJXSxyfjI/AAAAAAAACQg/3iHA3FtVaps/s1600/index.php.png" imageanchor="1" style="font-family: Times; margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="366" src="http://2.bp.blogspot.com/-_fPm0F2zHAY/T4hJXSxyfjI/AAAAAAAACQg/3iHA3FtVaps/s640/index.php.png" width="640" /></a></span></li> 
              
              <li>
                <span style="font-family: 'Trebuchet MS', sans-serif;">done !</span>
              </li></ul> </div> </div>

  • Home
  • About