downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/install.windows.installer.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/install.windows.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'install.windows.installer.php',
   
1 => 'Windows Installer (PHP 5.1.0 and earlier)',
  ),
 
'up' =>
  array (
   
0 => 'install.windows.php',
   
1 => 'Installation on Windows systems',
  ),
 
'prev' =>
  array (
   
0 => 'install.windows.php',
   
1 => 'Installation on Windows systems',
  ),
 
'next' =>
  array (
   
0 => 'install.windows.installer.msi.php',
   
1 => 'Windows Installer (PHP 5.2 and later)',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="install.windows.installer" class="sect1">
    <h2 class="title">Windows Installer (PHP 5.1.0 and earlier)</h2>
   
    <p class="para">
     The Windows PHP installer is available from the downloads page at
     <a href="http://www.php.net/downloads.php" class="link external">&raquo; http://www.php.net/downloads.php</a>. This
     installs the <em class="emphasis">CGI version</em> of PHP and for IIS, PWS,
     and Xitami, it configures the web server as well.  The installer does not
     include any extra external PHP extensions (php_*.dll) as you&#039;ll only find
     those in the Windows Zip Package and <acronym title="PHP Extension and Application Repository">PECL</acronym> downloads.
    </p>
    <blockquote><p><b class="note">Note</b>:
    
      While the Windows installer is an easy way to make PHP work, it is
      restricted in many aspects as, for example, the automatic setup of
      extensions is not supported.  Use of the installer isn&#039;t the preferred
      method for installing PHP.
     <br />
    </p></blockquote>
   
    <p class="simpara">
     First, install your selected <acronym title="Hypertext Transfer Protocol">HTTP</acronym> (web) server on your
     system, and make sure that it works.
    </p>
   
    <p class="simpara">
     Run the executable installer and follow the instructions provided by the
     installation wizard. Two types of installation are supported - standard,
     which provides sensible defaults for all the settings it can, and advanced,
     which asks questions as it goes along.
    </p>
   
    <p class="simpara">
     The installation wizard gathers enough information to set up the <var class="filename">php.ini</var>
     file, and configure certain web servers to use PHP. One of the web servers
     the PHP installer does not configure for is Apache, so you&#039;ll need to
     configure it manually.
    </p>

    <p class="simpara">
     Once the installation has completed, the installer will inform you if you
     need to restart your system, restart the server, or just start using PHP.
    </p>
   
    <div class="warning"><b class="warning">Warning</b>
     <p class="para">
      Be aware, that this setup of PHP is not secure. If you would like to have
      a secure PHP setup, you&#039;d better go on the manual way, and set every
      option carefully. This automatically working setup gives you an instantly
      working PHP installation, but it is not meant to be used on online servers.
     </p>
    </div>
   </div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites