Sophie

Sophie

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

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>Building / Compiling From Source</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mysql-xdevapi.configuration.html">Runtime Configuration</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mysql-xdevapi.constants.html">Predefined Constants</a></div>
 <div class="up"><a href="mysql-xdevapi.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="mysql-xdevapi.build" class="section">
   <h2 class="title">Building / Compiling From Source</h2>
   <p class="para">
     Considerations for compiling this extension from source.
   </p>

    <ul class="itemizedlist">
      <li class="listitem">
        <p class="para">
          The extension name is &#039;mysql_xdevapi&#039;, so use <em>--enable-mysql-xdevapi</em>.
        </p>
      </li>
      <li class="listitem">
        <p class="para">
          Boost: required,  optionally use the --with-boost=DIR configure option
          or set the MYSQL_XDEVAPI_BOOST_ROOT environment variable. Only the
          boost header files are required; not the binaries.
        </p>
      </li>
      <li class="listitem">
        <p class="para">
          Google Protocol Buffers (protobuf): required,  optionally use the --with-protobuf=DIR
          configure option or set the MYSQL_XDEVAPI_PROTOBUF_ROOT environment variable.
        </p>
        <p class="para">
          Windows specific protobuf note: depending on your environment,
          the static library with a multi-threaded DLL runtime may be needed.
          To prepare, use the following options:
          <em class="emphasis">-Dprotobuf_MSVC_STATIC_RUNTIME=OFF -Dprotobuf_BUILD_SHARED_LIBS=OFF</em>
        </p>
      </li>
      <li class="listitem">
        <p class="para">
          Google Protocol Buffers / protocol compiler (protoc): required, ensure that proper
          &#039;protoc&#039; is available in the PATH while building. It is especially
          important as Windows PHP SDK batch scripts may overwrite the environment.
        </p>
      </li>
        <li class="listitem">
          <p class="para">
            Bison: required, and available from the PATH.
          </p>
          <p class="para">
            Windows specific bison note: we strongly recommended that bison delivered with the
            chosen PHP SDKis used else an error similar to &quot;zend_globals_macros.h(39):
            error C2375: &#039;zendparse&#039;: redefinition; different linkage
            Zend/zend_language_parser.h(214): note: see declaration of &#039;zendparse&#039;&quot; may
            be the result. Also, Windows PHP SDK batch scripts may overwrite the environment.
          </p>
        </li>
      <li class="listitem">
        <p class="para">
          Windows Specific Notes: To prepare the environment, see the official
          Windows build documentation for either
          <a href="http://wiki.php.net/internals/windows/stepbystepbuild" class="link external">&raquo;&nbsp;the original SDK</a> (older, PHP-7.1 only) or
          <a href="http://wiki.php.net/internals/windows/stepbystepbuild_sdk_2" class="link external">&raquo;&nbsp;the current SDK</a> (PHP-7.1 or newer).
        </p>
        <p class="para">
          We recommend using the backslash &#039;\\&#039; instead of a slash &#039;/&#039; for all paths.
        </p>
      </li>
    </ul>
  </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mysql-xdevapi.configuration.html">Runtime Configuration</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mysql-xdevapi.constants.html">Predefined Constants</a></div>
 <div class="up"><a href="mysql-xdevapi.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>