Php Inst

Páginas: 52 (12818 palabras) Publicado: 19 de mayo de 2012
Installing PHP
__________________________________________________________________

Table of Contents
Preface
1. General Installation Considerations
2. Installation on Windows systems

Windows Installer
Manual Installation Steps
ActiveScript
Microsoft IIS / PWS
Apache 1.3.x on Microsoft Windows
Apache 2.0.x on MicrosoftWindows
Sun, iPlanet and Netscape servers on Microsoft Windows
OmniHTTPd Server
Sambar Server on Microsoft Windows
Xitami on Microsoft Windows
Installation of extensions on Windows

3. Installation of PECL extensions

Introduction to PECL Installations
Downloading PECL extensions
PECL for Windows users
Compilingshared PECL extensions with the pecl command
Compiling shared PECL extensions with phpize
Compiling PECL extensions statically into PHP

4. Problems?

Read the FAQ
Other problems
Bug reports

5. Runtime Configuration

The configuration file
How to change configuration settings

6. Installation FAQ__________________________________________________________________

Preface

These installation instructions were generated from the HTML version of
the PHP Manual so formatting and linking have been altered. See the
online and updated version at: http://php.net/install.windows
__________________________________________________________________

Chapter 1. General InstallationConsiderations

Before starting the installation, first you need to know what do you
want to use PHP for. There are three main fields you can use PHP, as
described in the What can PHP do? section:

* Websites and web applications (server-side scripting)
* Command line scripting
* Desktop (GUI) applications

For the first and most common form, you need three things: PHPitself,
a web server and a web browser. You probably already have a web
browser, and depending on your operating system setup, you may also
have a web server (e.g. Apache on Linux and MacOS X; IIS on Windows).
You may also rent webspace at a company. This way, you don't need to
set up anything on your own, only write your PHP scripts, upload it to
the server you rent, and seethe results in your browser.

In case of setting up the server and PHP on your own, you have two
choices for the method of connecting PHP to the server. For many
servers PHP has a direct module interface (also called SAPI). These
servers include Apache, Microsoft Internet Information Server, Netscape
and iPlanet servers. Many other servers have support for ISAPI, theMicrosoft module interface (OmniHTTPd for example). If PHP has no
module support for your web server, you can always use it as a CGI or
FastCGI processor. This means you set up your server to use the CGI
executable of PHP to process all PHP file requests on the server.

If you are also interested to use PHP for command line scripting (e.g.
write scripts autogenerating some imagesfor you offline, or processing
text files depending on some arguments you pass to them), you always
need the command line executable. For more information, read the
section about writing command line PHP applications. In this case, you
need no server and no browser.

With PHP you can also write desktop GUI applications using the PHP-GTK
extension. This is a completelydifferent approach than writing web
pages, as you do not output any HTML, but manage Windows and objects
within them. For more information about PHP-GTK, please visit the site
dedicated to this extension. PHP-GTK is not included in the official
PHP distribution.

From now on, this section deals with setting up PHP for web servers on
Unix and Windows with server module...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Inst
  • Inst
  • Inst
  • Inst
  • inst
  • inst
  • inst
  • Inst

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS