<!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="wkhtmltox.requirements.html">Requirements</a></div> <div class="next" style="text-align: right; float: right;"><a href="wkhtmltox.configuration.html">Runtime Configuration</a></div> <div class="up"><a href="wkhtmltox.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="wkhtmltox.installation" class="section"> <h2 class="title">Installation</h2> <p class="para"> The source code of this extension, and binaries for Windows are hosted by <a href="https://github.com/krakjoe/wkhtmltox" class="link external">» github</a>, </p> <p class="para"> Fetching the source code and building the extension: <div class="example-contents screen"> <div class="cdata"><pre> git clone https://github.com/krakjoe/wkhtmltox cd wkhtmltox phpize ./configure --with-wkhtmltox=/path/to/wkhtmltox/installation make sudo make install </pre></div> </div> </p> <p class="para"> Fetching updates and rebuilding the extension: <div class="example-contents screen"> <div class="cdata"><pre> cd wkhtmltox phpize --clean git pull origin master phpize ./configure --with-wkhtmltox=/path/to/wkhtmltox/installation make sudo make install </pre></div> </div> </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="wkhtmltox.requirements.html">Requirements</a></div> <div class="next" style="text-align: right; float: right;"><a href="wkhtmltox.configuration.html">Runtime Configuration</a></div> <div class="up"><a href="wkhtmltox.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>