mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
changed php.ini to entity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@81473 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d8e4191b30
commit
bcc6fe2abf
1 changed files with 9 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.29 -->
|
||||
<refentry id="function.dl">
|
||||
<refnamediv>
|
||||
|
@ -26,7 +26,7 @@
|
|||
&return.success; If the functionality of loading modules is not available
|
||||
(see Note) or has been disabled (either by turning it off
|
||||
<literal>enable_dl</literal> or by enabling <literal>safe_mode</literal>
|
||||
in <literal>PHP.INI</literal>) an <constant>E_ERROR</constant> is emitted
|
||||
in &php.ini;) an <constant>E_ERROR</constant> is emitted
|
||||
and execution is stopped. If <function>dl</function> fails because the
|
||||
specified library couldn't be loaded, in addition to &false; an
|
||||
<constant>E_WARNING</constant> message is emitted.
|
||||
|
@ -34,8 +34,8 @@
|
|||
<para>
|
||||
Use <function>extension_loaded</function> to test whether a given
|
||||
extension is already available or not. This works on both built-in
|
||||
extensions and dynamically loaded ones (either through
|
||||
<literal>PHP.INI</literal> or <function>dl</function>).
|
||||
extensions and dynamically loaded ones (either through &php.ini;
|
||||
or <function>dl</function>).
|
||||
</para>
|
||||
<para>
|
||||
Example:
|
||||
|
@ -52,13 +52,12 @@ if (!extension_loaded('gd')) {
|
|||
platform:
|
||||
</para>
|
||||
<para>
|
||||
Windows - If not explicitly set in the <literal>PHP.INI</literal>,
|
||||
the extension is loaded from <literal>c:\php4\extensions\</literal> by
|
||||
default.
|
||||
Windows - If not explicitly set in the &php.ini;, the extension is
|
||||
loaded from <literal>c:\php4\extensions\</literal> by default.
|
||||
</para>
|
||||
<para>
|
||||
Unix - If not explicitly set in the <literal>PHP.INI</literal>, the
|
||||
default extension directory depends on
|
||||
Unix - If not explicitly set in the &php.ini;, the default extension
|
||||
directory depends on
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
@ -90,7 +89,7 @@ if (!extension_loaded('gd')) {
|
|||
<para>
|
||||
<function>dl</function> is <emphasis>not</emphasis> supported in
|
||||
multithreaded Web servers. Use the <literal>extensions</literal>
|
||||
statement in your <literal>PHP.INI</literal> when operating under such
|
||||
statement in your &php.ini; when operating under such
|
||||
an environment. However, the <literal>CGI</literal> and
|
||||
<literal>CLI</literal> build are <emphasis role="strong">not</emphasis>
|
||||
affected !
|
||||
|
|
Loading…
Reference in a new issue