File: configure.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 (87 lines) | stat: -rw-r--r-- 3,224 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
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<section xml:id="openssl.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 &reftitle.install;
 <para>
  To use PHP's OpenSSL support you must also compile PHP <option
  role="configure">--with-openssl[=DIR]</option>.
 </para>
 <note>
  <title>Note to Win32 Users</title>
  <para>
   &ext.windows.path.dll;
   <filename>libeay32.dll</filename>
  </para>
  <para>
   Additionally, if you are planning to use the key generation and certificate
   signing functions, you will need to install a valid
   <filename>openssl.cnf</filename> file on your system.
   As of PHP 4.3.0, we include a sample configuration file
   in our win32 binary distributions.
   PHP 4.3.x and 4.4.x has the file in the
   <filename class="directory">openssl</filename> directory.
   PHP 5.x and 6.x has the file in the
   <filename class="directory">extras/openssl</filename> directory.
   If you are either using PHP 4.2.x or missing the file, you can obtain it from
   <link xlink:href="&url.openssl.binaries;">the OpenSSL binaries page</link>
   or by downloading a recent PHP release.
   Be aware that Windows Explorer hides the <filename>.cnf</filename> extension
   by default and says the file Type is <literal>SpeedDial</literal>.
  </para>
  <para>
   PHP will search for the <filename>openssl.cnf</filename> using the
   following logic:
   <itemizedlist>
    <listitem>
     <simpara>the <literal>OPENSSL_CONF</literal> environmental variable, if
      set, will be used as the path (including filename) of the configuration
      file.
     </simpara>
    </listitem>
    <listitem>
     <simpara>the <literal>SSLEAY_CONF</literal> environmental variable, if
      set, will be used as the path (including filename) of the configuration
      file.
     </simpara>
    </listitem>
    <listitem>
     <simpara>The file <filename>openssl.cnf</filename> will be assumed to be
      found in the default certificate area, as configured at the time that
      the openssl DLL was compiled.  This is usually means that the default
      filename is <filename>c:\usr\local\ssl\openssl.cnf</filename>.
     </simpara>
    </listitem>
   </itemizedlist>
  </para>
  <simpara>
   In your installation, you need to decide whether to install the
   configuration file at <filename>c:\usr\local\ssl\openssl.cnf</filename> or
   whether to install it someplace else and use environmental variables
   (possibly on a per-virtual-host basis) to locate the configuration file.
   Note that it is possible to override the default path from the script using
   the <parameter>configargs</parameter> of the functions that require a
   configuration file.
  </simpara>
 </note>
</section>

<!-- 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
-->