发布于 2015-05-02 05:55:16 | 379 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

MediaWiki开源wiki系统

MediaWiki全球最著名的开源wiki程序,运行于PHP+MySQL环境。MediaWiki从2002年2月25日被作为维基百科全书的系统软件,并有大量其他应用实例。MediaWiki的开发得到维基媒体基金会的支持。


Mac Mini OSX 10.7.5系统在安装MediaWiki的过程中遇到了下面的apc未安装的问题。

采用brew方法进行安装如下:命令为  brew install php53-apc  

apache2  brew install php53-apc                     
==> Installing php53-apc from homebrew/homebrew-php
==> Downloading http://pecl.php.net/get/APC-3.1.10.tgz
Already downloaded: /Library/Caches/Homebrew/php53-apc-3.1.10.tgz
==> Patching
patching file APC-3.1.10/php_apc.h
Hunk #1 succeeded at 35 with fuzz 2.
==> /usr/local/opt/php53/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php53-apc/3.1.10 --with-php-config=/usr/local/opt/php53/bin/php-con
==> make
==> Caveats
To finish installing apc for PHP 5.3:
  * /usr/local/etc/php/5.3/conf.d/ext-apc.ini was created,
    do not forget to remove it upon extension removal.
  * Validate installation via one of the following methods:
  *
  * Using PHP from a webserver:
  * - Restart your webserver.
  * - Write a PHP page that calls "phpinfo();"
  * - Load it in a browser and look for the info on the apc module.
  * - If you see it, you have been successful!
  *
  * Using PHP from the command line:
  * - Run "php -i" (command-line "phpinfo()")
  * - Look for the info on the apc module.
  * - If you see it, you have been successful!
==> Summary

最后重启下apache2就行了 (/usr/sbin/httpd)



最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务