Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 1867

php-manual-en-5.5.7-1.mga4.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>Obtaining PHP</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="faq.mailinglist.html">Mailing lists</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="faq.databases.html">Database issues</a></div>
 <div class="up"><a href="faq.html">FAQ</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="faq.obtaining" class="chapter">
 <h1>Obtaining PHP</h1>

  

   <p class="para">
    This section has details about PHP download locations, and
    OS issues.
   </p>

  <div class="qandaset"><ol class="qandaset_questions"><li><a href="#faq.obtaining.where">
     Where can I obtain PHP?
    </a></li><li><a href="#faq.obtaining.precompiled">
     Are pre-compiled binary versions available?
    </a></li><li><a href="#faq.obtaining.optional">
     
      Where can I get libraries needed to compile some of
      the optional PHP extensions?
     
    </a></li><li><a href="#faq.obtaining.how">
     How do I get these libraries to work?
    </a></li><li><a href="#faq.obtaining.compilent">
     
      I got the latest version of the PHP source code from the Git
      repository on my Windows machine, what do I need to compile it?
     
    </a></li><li><a href="#faq.obtaining.browscap">
     Where do I find the Browser Capabilities File?
    </a></li><li><a href="#faq.obtaining.threadsafety">
     What does thread safety mean when downloading PHP?
    </a></li></ol></div>
   <dl class="qandaentry" id="faq.obtaining.where">
    <dt><strong>
     Where can I obtain PHP?
    </strong></dt>
    <dd class="answer">
     <p class="para">
      You can download PHP from any of the members of the
      PHP network of sites. These can be found at 
      <a href="http://www.php.net/" class="link external">&raquo;&nbsp;http://www.php.net/</a>.
      You can also use anonymous Git to get the absolute latest
      version of the source. For more information, go to 
      <a href="http://www.php.net/git.php" class="link external">&raquo;&nbsp;http://www.php.net/git.php</a>.
     </p>
    </dd>
   </dl>

   <dl class="qandaentry" id="faq.obtaining.precompiled">
    <dt><strong>
     Are pre-compiled binary versions available?
    </strong></dt>
    <dd class="answer">
     <p class="para">
      We only distribute precompiled binaries for Windows systems,
      as we are not able to compile PHP for every major Linux/Unix
      platform with every extension combination. Also note, that
      many Linux distributions come with PHP built in these days.
      Windows binaries can be downloaded from our <a href="http://www.php.net/downloads.php" class="link external">&raquo;&nbsp;Downloads</a> page, for Linux
      binaries, please visit your distribution&#039;s website.
     </p>
    </dd>
   </dl>

   <dl class="qandaentry" id="faq.obtaining.optional">
    <dt><strong>
     
      Where can I get libraries needed to compile some of
      the optional PHP extensions?
     
    </strong></dt>
    <dd class="answer">
     <p class="para">
      <blockquote class="note"><p><strong class="note">Note</strong>: 
       <span class="simpara">
        Those marked with a * are to the best of our knowledge not thread safe; they are not recommended for use in a multi-threaded environment.
       </span>
      </p></blockquote>
     </p>
     <p class="para">
      <ul class="itemizedlist">
       <li class="listitem">
        <span class="simpara">
         <a href="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-stable/" class="link external">&raquo;&nbsp;LDAP (Unix)</a>.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://www.mozilla.org/directory/" class="link external">&raquo;&nbsp;LDAP (Unix/Win)</a> : 
         Mozilla Directory (LDAP) SDK
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://www.bind9.net/download-openldap/" class="link external">&raquo;&nbsp;free LDAP server</a>.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://www.sleepycat.com/" class="link external">&raquo;&nbsp;Berkeley DB2 (Unix/Win)</a> :
         http://www.sleepycat.com/.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://www.net-snmp.org/" class="link external">&raquo;&nbsp;SNMP* (Unix): </a>.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://www.libgd.org/" class="link external">&raquo;&nbsp;GD (Unix/Win)</a>.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://www.hughes.com.au/" class="link external">&raquo;&nbsp;mSQL* (Unix)</a>.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://www.postgresql.org/" class="link external">&raquo;&nbsp;PostgreSQL (Unix)</a>.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="ftp://ftp.cac.washington.edu/imap/" class="link external">&raquo;&nbsp;IMAP* (Win/Unix)</a>.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://www.sybase.com/" class="link external">&raquo;&nbsp;Sybase-CT* (Linux, libc5)</a> : 
         Available locally.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://www.freetype.org/" class="link external">&raquo;&nbsp;FreeType (libttf):</a>.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://www.zlib.net/" class="link external">&raquo;&nbsp;ZLib (Unix/Win32)</a>.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://www.jclark.com/xml/expat.html" class="link external">&raquo;&nbsp;expat XML parser (Unix/Win32)</a>.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://www.pdflib.com/products/pdflib-family/" class="link external">&raquo;&nbsp;PDFLib</a>.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://mcrypt.sourceforge.net/" class="link external">&raquo;&nbsp;mcrypt</a>.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://mhash.sourceforge.net/" class="link external">&raquo;&nbsp;mhash</a>.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="ftp://sunsite.unc.edu/pub/Linux/libs/graphics/" class="link external">&raquo;&nbsp;t1lib</a>.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://dmalloc.com/" class="link external">&raquo;&nbsp;dmalloc</a>.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://aspell.net/" class="link external">&raquo;&nbsp;aspell</a>.
        </span>
       </li>
       <li class="listitem">
        <span class="simpara">
         <a href="http://cnswww.cns.cwru.edu/~chet/readline/rltop.html" class="link external">&raquo;&nbsp;readline</a>.
        </span>
       </li>
      </ul>
     </p>
    </dd>
   </dl>
  
   <dl class="qandaentry" id="faq.obtaining.how">
    <dt><strong>
     How do I get these libraries to work?
    </strong></dt>
    <dd class="answer">
     <p class="para">
      You will need to follow instructions provided with the library. Some of
      these libraries are detected automatically when you run the &#039;configure&#039;
      script of PHP (such as the GD library), and others you will have to
      enable using &#039;<em>--with-EXTENSION</em>&#039; options to 
      &#039;<em>configure</em>&#039;. Run 
      &#039;<em>configure --help</em>&#039; for a listing of these.     
     </p>
    </dd>
   </dl>
   <dl class="qandaentry" id="faq.obtaining.compilent">
    <dt><strong>
     
      I got the latest version of the PHP source code from the Git
      repository on my Windows machine, what do I need to compile it?
     
    </strong></dt>
    <dd class="answer">
     <p class="para">
      See the manual section about
      <a href="install.windows.building.html" class="link">building PHP from
      source on Windows</a>.
    </p>
    </dd>
   </dl>
   <dl class="qandaentry" id="faq.obtaining.browscap">
    <dt><strong>
     Where do I find the Browser Capabilities File?
    </strong></dt>
    <dd class="answer">
     <p class="para">
      You can find a <var class="filename">browscap.ini</var> file at 
      <a href="http://tempdownloads.browserscap.com/" class="link external">&raquo;&nbsp;http://tempdownloads.browserscap.com/</a>.
     </p>
    </dd>
   </dl>
   <dl class="qandaentry" id="faq.obtaining.threadsafety">
    <dt><strong>
     What does thread safety mean when downloading PHP?
    </strong></dt>
    <dd class="answer">
     <p class="para">
      Thread Safety means that binary can work in a multithreaded webserver 
      context, such as Apache 2 on Windows. Thread Safety works by creating 
      a local storage copy in each thread, so that the data won&#039;t collide 
      with another thread.
     </p>
     <p class="para">
      So what do I choose? If you choose to run PHP as a CGI binary, then 
      you won&#039;t need thread safety, because the binary is invoked at each 
      request. For multithreaded webservers, such as IIS5 and IIS6, you should 
      use the threaded version of PHP.
     </p>
    </dd>
   </dl>
  
 </div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="faq.mailinglist.html">Mailing lists</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="faq.databases.html">Database issues</a></div>
 <div class="up"><a href="faq.html">FAQ</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>