downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/apd.installation.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/apd.setup.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'apd.installation.php',
   
1 => 'Installation',
  ),
 
'up' =>
  array (
   
0 => 'apd.setup.php',
   
1 => 'Installing/Configuring',
  ),
 
'prev' =>
  array (
   
0 => 'apd.requirements.php',
   
1 => 'Requirements',
  ),
 
'next' =>
  array (
   
0 => 'apd.installwin32.php',
   
1 => 'Building on Win32',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="apd.installation" class="section">
  <h2 class="title">Installation</h2>
  <p class="para">
   APD is currently available as a PECL extension from
   <a href="http://pecl.php.net/package/apd" class="link external">&raquo; http://pecl.php.net/package/apd</a>.
  </p>
  <p class="para">
   Run the following command to download, build, and install the latest stable
   version of APD:
   <div class="example-contents screen">
<div class="cdata"><pre>
pear install apd
</pre></div>
   </div>
  </p>
  <p class="para">
   This automatically installs the APD Zend module into your PHP
   extensions directory. It is not mandatory to keep it there; you can
   store the module in any directory PHP can read as long as you set
   the zend_extension parameter accordingly.
  </p>
  <p class="para">
   Windows users will enable <var class="filename">php_apd.dll</var> inside
   of <var class="filename">php.ini</var> in order to use these functions.
   A <acronym title="Dynamic Link Library">DLL</acronym> for this
<acronym title="PHP Extension and Application Repository">PECL</acronym> extension is currently unavailable. See also the
<a href="install.windows.building.php" class="link">building on Windows</a>
section.
  </p>
  <p class="para">
   In your INI file, add the following lines:
  </p>
  <p class="para">
   </p><div class="example-contents programlisting">
<div class="php.inicode"><pre class="php.inicode">zend_extension = /absolute/path/to/apd.so
apd.dumpdir = /absolute/path/to/trace/directory
apd.statement_tracing = 0</pre>
</div>
   </div>
<p>
  </p>
  <p class="para">
   Depending on your PHP build, the zend_extension directive can be one of the
   following:
  </p>
  <p class="para">
   </p><div class="example-contents programlisting">
<div class="scriptcode"><pre class="scriptcode">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)</pre>
</div>
   </div>
<p>
  </p>
 </div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites