©
Dokumen ini menggunakan Manual laman web PHP Cina Lepaskan
此 » PECL 扩展未与 PHP 捆绑。
安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装章节中找到。更多信息如新的发行版本、下载、源文件、 维护人员信息及变更日志等,都在此处: » http://pecl.php.net/package/runkit.
PECL 扩展的 DLL 当前不可用。参见 在 Windows 上构建章节。
[#1] dzenovich at php dot net [2015-09-25 06:02:10]
To install the latest release via PECL you should access Runkit's PEAR channel:
pear channel-discover zenovich.github.io/pear
Then to install Runkit just type:
pecl install zenovich/runkit
[#2] panticz [2015-02-19 09:51:21]
Also you can create a dedicated config file to enable runkit extension in PHP. Just create a new file called /etc/php5/conf.d/runkit.ini and add this content to it:
extension=runkit.so
or run this linux command:
cat <<EOF> /etc/php5/conf.d/runkit.ini
extension=runkit.so
EOF
This is a cleaner solution then edit the php.ini.
[#3] whereyoucanemailme at gmail dot com [2014-07-18 02:23:55]
Make sure to install pthreads first.
pecl install pthreads
With the following options:
--enable-debug
--enable-maintainer-zts
then installed runkit
[#4] Ferrie Herrie [2013-04-15 12:47:28]
If you're missing installation instructions in the readme and normal installations don't work, this is what worked for me on Centos 5.9 with php 5.3.3
cd /tmp
git clone https://github.com/zenovich/runkit.git
cd runkit
pecl install package.xml
// Add to php.ini:
extension=runkit.so
// Restart your webserver
service httpd restart
[#5] Dmitry Zenovich [2012-09-24 13:11:07]
The project is now hosted on http://github.com/zenovich/runkit
To install a release version, simply type
sudo pecl install https://github.com/downloads/zenovich/runkit/runkit-1.0.3.tgz
(to install version 1.0.3).
See the http://github.com/zenovich/runkit/downloads for the full list of release files.
To get most fresh and hot features you may also build the extension from master-branch source code. Clone it with
git clone git://github.com/zenovich/runkit.git
and follow the instructions in the README file.
[#6] frxstrem [2010-05-25 14:19:57]
If the normal PECL installation doesn't work for you, you may want to install from SVN instead:
svn checkout http://svn.php.net/repository/pecl/runkit/trunk/
cd trunk
pecl install package.xml
After pecl has finished installing runkit, add the following line to your php.ini file(s):
extension=runkit.so
Then restart your webserver, and runkit should now be installed and working with your PHP installation.