File: obtaining.xml

package info (click to toggle)
php-doc 20140201-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 74,084 kB
  • ctags: 4,040
  • sloc: xml: 998,137; php: 20,812; cpp: 500; sh: 177; makefile: 63; awk: 28
file content (253 lines) | stat: -rw-r--r-- 7,652 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 331332 $ -->
<chapter xml:id="faq.obtaining" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Obtaining PHP</title>
  <titleabbrev>Obtaining PHP</titleabbrev>

   <para>
    This section has details about PHP download locations, and
    OS issues.
   </para>

  <qandaset>
   <qandaentry xml:id="faq.obtaining.where">
    <question>
     <para>Where can I obtain PHP?</para>
    </question>
    <answer>
     <para>
      You can download PHP from any of the members of the
      PHP network of sites. These can be found at 
      <link xlink:href="&url.php;">&url.php;</link>.
      You can also use anonymous Git to get the absolute latest
      version of the source. For more information, go to 
      <link xlink:href="&url.php.anongit;">&url.php.anongit;</link>.
     </para>
    </answer>
   </qandaentry>

   <qandaentry xml:id="faq.obtaining.precompiled">
    <question>
     <para>Are pre-compiled binary versions available?</para>
    </question>
    <answer>
     <para>
      We only distribute precompiled binaries for Windows systems,
      as we are not able to compile PHP for every major Linux/Unix
      platform with every extension combination. Also note, that
      many Linux distributions come with PHP built in these days.
      Windows binaries can be downloaded from our <link
      xlink:href="&url.php.downloads;">Downloads</link> page, for Linux
      binaries, please visit your distribution's website.
     </para>
    </answer>
   </qandaentry>

   <qandaentry xml:id="faq.obtaining.optional">
    <question>
     <para>
      Where can I get libraries needed to compile some of
      the optional PHP extensions?
     </para>
    </question>
    <answer>
     <para>
      <note>
       <simpara>
        Those marked with a * are to the best of our knowledge not thread safe; they are not recommended for use in a multi-threaded environment.
       </simpara>
      </note>
     </para>
     <para>
      <itemizedlist>
       <listitem>
        <simpara>
         <link xlink:href="&url.ldap.openldap.source;">LDAP (Unix)</link>.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.ldap.netscape.sdk;">LDAP (Unix/Win)</link> : 
         Mozilla Directory (LDAP) SDK
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.ldap.bind9;">free LDAP server</link>.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.sleepycat;">Berkeley DB2 (Unix/Win)</link> :
         &url.sleepycat;.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.net-snmp;">SNMP* (Unix): </link>.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.gd;">GD (Unix/Win)</link>.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.msql;">mSQL* (Unix)</link>.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.pgsql;">PostgreSQL (Unix)</link>.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.imap;">IMAP* (Win/Unix)</link>.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.sybase;">Sybase-CT* (Linux, libc5)</link> : 
         Available locally.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.freetype;">FreeType (libttf):</link>.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.zlib;">ZLib (Unix/Win32)</link>.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.expat;">expat XML parser (Unix/Win32)</link>.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.pdf;">PDFLib</link>.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.mcrypt;">mcrypt</link>.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.mhash;">mhash</link>.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.t1lib;">t1lib</link>.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.dmalloc;">dmalloc</link>.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.aspell;">aspell</link>.
        </simpara>
       </listitem>
       <listitem>
        <simpara>
         <link xlink:href="&url.readline;">readline</link>.
        </simpara>
       </listitem>
      </itemizedlist>
     </para>
    </answer>
   </qandaentry>
  
   <qandaentry xml:id="faq.obtaining.how">
    <question>
     <para>How do I get these libraries to work?</para>
    </question>
    <answer>
     <para>
      You will need to follow instructions provided with the library. Some of
      these libraries are detected automatically when you run the 'configure'
      script of PHP (such as the GD library), and others you will have to
      enable using '<literal>--with-EXTENSION</literal>' options to 
      '<literal>configure</literal>'. Run 
      '<literal>configure --help</literal>' for a listing of these.     
     </para>
    </answer>
   </qandaentry>
   <qandaentry xml:id="faq.obtaining.compilent">
    <question>
     <para>
      I got the latest version of the PHP source code from the Git
      repository on my Windows machine, what do I need to compile it?
     </para>
    </question>
    <answer>
     <para>
      See the manual section about
      <link linkend="install.windows.building">building PHP from
      source on Windows</link>.
    </para>
    </answer>
   </qandaentry>
   <qandaentry xml:id="faq.obtaining.browscap">
    <question>
     <para>Where do I find the Browser Capabilities File?</para>
    </question>
    <answer>
     <para>
      You can find a <filename>browscap.ini</filename> file at 
      <link xlink:href="&url.browscap.download;">&url.browscap.download;</link>.
     </para>
    </answer>
   </qandaentry>
   <qandaentry xml:id="faq.obtaining.threadsafety">
    <question>
     <para>What does thread safety mean when downloading PHP?</para>
    </question>
    <answer>
     <para>
      Thread Safety means that binary can work in a multithreaded webserver 
      context, such as Apache 2 on Windows. Thread Safety works by creating 
      a local storage copy in each thread, so that the data won't collide 
      with another thread.
     </para>
     <para>
      So what do I choose? If you choose to run PHP as a CGI binary, then 
      you won't need thread safety, because the binary is invoked at each 
      request. For multithreaded webservers, such as IIS5 and IIS6, you should 
      use the threaded version of PHP.
     </para>
    </answer>
   </qandaentry>
  </qandaset>
 </chapter>

<!-- 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:"~/.phpdoc/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
-->