mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
88 lines
2.2 KiB
XML
88 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
|
|
<chapter xml:id="apd.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
&reftitle.setup;
|
|
|
|
<section xml:id="apd.requirements">
|
|
&reftitle.required;
|
|
&no.requirement;
|
|
</section>
|
|
|
|
<section xml:id="apd.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
&reftitle.install;
|
|
<para>
|
|
&pecl.info;
|
|
<link xlink:href="&url.pecl.package;apd">&url.pecl.package;apd</link>.
|
|
</para>
|
|
<para>
|
|
&pecl.windows.download;
|
|
</para>
|
|
<para>
|
|
In your INI file, add the following lines:
|
|
</para>
|
|
<para>
|
|
<programlisting role="php.ini">
|
|
<![CDATA[
|
|
zend_extension = /absolute/path/to/apd.so
|
|
apd.dumpdir = /absolute/path/to/trace/directory
|
|
apd.statement_tracing = 0
|
|
]]>
|
|
</programlisting>
|
|
</para>
|
|
<para>
|
|
Depending on your PHP build, the zend_extension directive can be one of the
|
|
following:
|
|
</para>
|
|
<para>
|
|
<programlisting role="script">
|
|
<![CDATA[
|
|
zend_extension (non ZTS, non debug build)
|
|
zend_extension_ts ( ZTS, non debug build)
|
|
zend_extension_debug (non ZTS, debug build)
|
|
zend_extension_debug_ts ( ZTS, debug build)
|
|
]]>
|
|
</programlisting>
|
|
</para>
|
|
</section>
|
|
|
|
<section xml:id="apd.installwin32">
|
|
<title>Building on Win32</title>
|
|
<para>
|
|
To build APD under Windows you need a working PHP compilation
|
|
environment as described on http://php.net/ -- basically, it requires
|
|
you to have Microsoft Visual C++, win32build.zip, bison/flex, and some know how
|
|
to get it to work. Also ensure that adp.dsp has DOS line endings; if it has unix
|
|
line endings, Microsoft Visual C++ will complain about it.
|
|
</para>
|
|
</section>
|
|
|
|
&reference.apd.ini;
|
|
|
|
<section xml:id="apd.resources">
|
|
&reftitle.resources;
|
|
&no.resource;
|
|
</section>
|
|
|
|
</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
|
|
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
|
|
-->
|
|
|