<!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="rar.requirements.html">Requirements</a></div> <div class="next" style="text-align: right; float: right;"><a href="rar.configuration.html">Runtime Configuration</a></div> <div class="up"><a href="rar.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="rar.installation" class="section"> <h2 class="title">Installation</h2> <p class="para"> Rar is currently available through PECL <a href="http://pecl.php.net/package/rar" class="link external">» http://pecl.php.net/package/rar</a>. </p> <p class="para"> Also you can use the PECL installer to install the Rar extension, using the following command: <strong class="command">pecl -v install rar</strong>. </p> <p class="para"> You can always download the <var class="filename">tar.gz</var> package and install Rar by hand: <div class="example" id="example-742"> <p><strong>Example #1 Rar installation</strong></p> <div class="example-contents"> <div class="shellcode"><pre class="shellcode">gunzip rar-xxx.tgz tar -xvf rar-xxx.tar cd rar-xxx phpize ./configure && make && make install</pre> </div> </div> </div> </p> <p class="para"> Windows users will enable <var class="filename">php_rar.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.html" class="link">building on Windows</a> section. </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="rar.requirements.html">Requirements</a></div> <div class="next" style="text-align: right; float: right;"><a href="rar.configuration.html">Runtime Configuration</a></div> <div class="up"><a href="rar.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>