Wkhtmltox/setup-Phpdoc专题
安装/配置
目录
需求
libwkhtmltox source and binary releases are distributed at » wkhtmltopdf.org.
Caution
Windows users need to take the additional step of adding wkhtmltox.dll
to their PATH.
安装
The source code of this extension, and binaries for Windows are hosted by » github,
Fetching the source code and building the extension:
git clone https://github.com/krakjoe/wkhtmltox
cd wkhtmltox
phpize
./configure --with-wkhtmltox=/path/to/wkhtmltox/installation
make
sudo make install
Fetching updates and rebuilding the extension:
cd wkhtmltox
phpize --clean
git pull origin master
phpize
./configure --with-wkhtmltox=/path/to/wkhtmltox/installation
make
sudo make install
运行时配置
| Name | Description | Default | Stage | Changelog |
|---|---|---|---|---|
| wkhtmltox.graphics | allow libwkhtmltox to use graphics | Off | PHP_INI_SYSTEM | PHP_INI_PERDIR | >= 0.3.2 |