Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 2015

php-manual-en-7.2.11-1.mga7.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Installation</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ds.requirements.html">Requirements</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ds.constants.html">Predefined Constants</a></div>
 <div class="up"><a href="ds.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="ds.installation" class="section">
  <h2 class="title">Installation</h2>
  <p class="para">
     The easiest way to install the extension is via <a href="http://pecl.php.net/package/ds" class="link external">&raquo;&nbsp;PECL</a>
   <div class="example-contents screen">
<div class="cdata"><pre>
pecl install ds
</pre></div>
   </div>
</p>

   <p class="para">
     You can also build directly from source:

    <div class="example-contents screen">
<div class="cdata"><pre>
# Dependencies you might need to install
# sudo apt-get install git build-essential php7.0-dev

git clone https://github.com/php-ds/extension &quot;php-ds&quot;
cd php-ds

# Build and install the extension
phpize
./configure
make
make install

# Clean up the build files
make clean
phpize --clean
</pre></div>
   </div>

  </p>

  <p class="para">

   If you&#039;re on Windows, you can
   <a href="https://pecl.php.net/package/ds" class="link external">&raquo;&nbsp;download a compiled .dll on PECL</a>

  </p>

  <blockquote class="note"><p><strong class="note">Note</strong>: 
    <p class="para">
        If you&#039;re using Composer, it&#039;s highly recommended that you include
        <a href="https://packagist.org/packages/php-ds/php-ds" class="link external">&raquo;&nbsp;php-ds/php-ds</a>
        in your project so that your code is still functional in an environment where the
        extension is not installed. The extension will take priority if installed.
    </p>
  </p></blockquote>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ds.requirements.html">Requirements</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ds.constants.html">Predefined Constants</a></div>
 <div class="up"><a href="ds.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>