File: omnihttpd.xml

package info (click to toggle)
php-doc 20081024-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 57,752 kB
  • ctags: 3,858
  • sloc: xml: 686,554; php: 19,446; perl: 610; cpp: 500; makefile: 336; sh: 114; awk: 28
file content (109 lines) | stat: -rw-r--r-- 3,196 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
  <sect1 xml:id="install.windows.omnihttpd" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
   <title>OmniHTTPd Server</title>
   <para>
    This section contains notes and hints specific to
    <link xlink:href="&url.omnihttpd;">OmniHTTPd</link> on Windows.
   </para>
   <note>
    <para>
     You should read the <link linkend="install.windows.manual">manual
     installation steps</link> first!
    </para>
   </note>
   &warn.install.cgi;
   <simpara>
    You need to complete the following steps to make PHP
    work with OmniHTTPd. This is a CGI executable setup.
    SAPI is supported by OmniHTTPd, but some tests have shown
    that it is not so stable to use PHP as an ISAPI module.
   </simpara>
   
   <note>
    <title>Important for CGI users</title>
    <para>
     Read the <link linkend="faq.installation.forceredirect">faq
     on cgi.force_redirect</link> for important details.  This
     directive needs to be set to <literal>0</literal>.
    </para>
   </note>

   <para>
    <orderedlist>
     <listitem>
      <para>
       Install OmniHTTPd server.
      </para>
     </listitem>
     <listitem>
      <para>
       Right click on the blue OmniHTTPd icon in the system
       tray and select <literal>Properties</literal>
      </para>
     </listitem>
     <listitem>
      <para>
       Click on <literal>Web Server Global Settings</literal>
      </para>
     </listitem>
     <listitem>
      <para>
       On the 'External' tab, enter: <literal>virtual = .php
        | actual = c:\php\php.exe</literal> (use
       <filename>php-cgi.exe</filename> if installing PHP 5), and use the Add
       button.
      </para>
     </listitem>
     <listitem>
      <para>
       On the <literal>Mime</literal> tab, enter:
       <literal>virtual = wwwserver/stdcgi | actual = .php</literal>,
       and use the Add button.
      </para>
     </listitem>
     <listitem>
      <para>
       Click <literal>OK</literal>
      </para>
     </listitem>
    </orderedlist>
   </para>
    
   <simpara>
    Repeat steps 2 - 6 for each extension you want to associate with PHP.
   </simpara>
   <note>
    <para>
     Some OmniHTTPd packages come with built in PHP support.
     You can choose at setup time to do a custom setup, and
     uncheck the PHP component. We recommend you to use the latest
     PHP binaries. Some OmniHTTPd servers come with PHP 4 beta
     distributions, so you should choose not to set up
     the built in support, but install your own. If the server
     is already on your machine, use the Replace button in Step
     4 and 5 to set the new, correct information.
    </para>
   </note>
  </sect1>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->