建立/获得php_memcache.dll为PHP 5.4最简单的方法 [英] Easiest way to build / obtain php_memcache.dll for PHP 5.4
问题描述
我打算在我们的应用程序需要内存缓存,因此php_memcache.dll
I'm planning to use Traits, available in PHP 5.4 on our application that requires Memcache and hence php_memcache.dll
我开发上使用PHP 5.4最新发布的候选版本的Windows机器。
I'm developing on a Windows machine using PHP 5.4 latest release candidate.
我无法源的PHP 5.4版本php_memcache.dll,所以想知道无论是如何获得它或做不到这一点,建立它自己(上的 http://www.php.net/manual/en/install.windows.building.php 显得有些欠缺! )。
I am unable to source a PHP 5.4 build of php_memcache.dll so would like to know either how to obtain it or failing that, build it myself (the instructions on http://www.php.net/manual/en/install.windows.building.php seem a little lacking!).
我没有Visual Studio或安装在我的机器上(理想情况下不想支付任何)。
I do not have Visual Studio or any build tools installed on my machine (and ideally do not want to pay for any).
感谢
推荐答案
本文档页解释了如何做到这一点:的 http://php.net/manual/en/install.pecl.windows.php
This doc page explains how to do it: http://php.net/manual/en/install.pecl.windows.php
但是,为了容易地实现,这将是/ fedora的作为虚拟操作系统(使用的virtualbox)运行的ubuntu的最佳方式。获取任何扩展的新版本将是比较容易的方式UNIX下的。
But the best way to easily achieve this would be to run ubuntu/fedora as a virtual os (using virtualbox). Getting newer versions of any extensions will be way easier under unix.
您仍然可以开发在Windows和使用共享目录在linux下运行PHP code VM。
You could still develop on windows and use a shared directory to run the php code in the linux VM.
这篇关于建立/获得php_memcache.dll为PHP 5.4最简单的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!