首页 \ 问答 \ Memcached for PHP 5.3(Memcached for PHP 5.3)

Memcached for PHP 5.3(Memcached for PHP 5.3)

我到处找了一些关于如何在我的WAMP窗口开发环境中运行Memcached扩展的线索(正确的,最后是带有Dmemcached ,而不是memcache)。

我已经使用了memcache(没有D ),但是参与memcached更多扩展的多服务器功能会很方便。

我怎样才能启动并运行它?

谢谢


I have looked everywhere for some clues on how to run the Memcached extension in my WAMP windows development environment (thats right, the memcached with an D in the end, not memcache).

I already use memcache (without the D), but it would be handy to take part of memcached's more extended multiple-server features.

How can I get this up and running?

Thanks


原文:https://stackoverflow.com/questions/2885879
更新时间:2023-07-21 22:07

最满意答案

使用Syncronous FTP请求解决了该问题。 运行循环运行函数阻止另一个线程调用流委托函数。


solved the issue using the Syncronous FTP request. The run loop run function was blocking the other thread from calling the stream delegate function.

相关问答

更多
  • 想要以原始海报想象的方式来编写FTP会话是一个合理的想法,这就是Expect将会有所帮助的事情。 Windows上的批处理文件无法执行此操作。 但是,与使用cURL或Expect不同,您可能会发现与Powershell进行FTP交互的脚本更容易。 这是一个不同的模式,因为您不直接将文本脚本发送到FTP服务器。 相反,您将使用Powershell来操作为您生成FTP对话的对象。 上传: $File = "D:\Dev\somefilename.zip" $ftp = "ftp://username:passw ...
  • 我认为您的问题是您的网址缺少文件名。 如果我没记错,您必须在URL中传递文件名。 所以它看起来像这样: "ftp://192.168.1.1/SampleFiles/file.txt" I think your problem is that your url is missing the file name. If I remember correctly you must pass the file name in the URL. So it would look something like th ...
  • Codeigniter有一个FTP类http://ellislab.com/codeigniter/user-guide/libraries/ftp.html 。 包含此反向镜像/下载支持的扩展程序http://ellislab.com/forums/viewthread/157098/ Codeigniter has an FTP Class http://ellislab.com/codeigniter/user-guide/libraries/ftp.html. Include this extens ...
  • 我可以通过将kCFStreamPropertyFTPAttemptPersistentConnection属性设置为kCFBooleanFalse来解决我的问题。 默认情况下,此属性为true,因此如果我们强行关闭它,连接不会中断。 实际归功于这个给出答案的人。 I am able to solve my problem by setting kCFStreamPropertyFTPAttemptPersistentConnection property to kCFBooleanFalse. By def ...
  • 使用Syncronous FTP请求解决了该问题。 运行循环运行函数阻止另一个线程调用流委托函数。 solved the issue using the Syncronous FTP request. The run loop run function was blocking the other thread from calling the stream delegate function.
  • SFTP只是SSH协议的扩展。 我会寻找一个开源的SSH库,比如这个 。 大多数人都支持SFTP协议。 有一点需要注意,如果您打算在App Store应用程序中使用它,您可能希望从库中删除服务器功能,因为Apple可能不会允许它。 如果通过一些轻微的机会,库甚至可以使用SSH服务器功能构建和运行,如果您不启用服务器,则可以将其放入App Store。 当然,我确信有些库只有客户端功能,如果你自己删除服务器支持听起来并不那么花哨。 SFTP is just an extension of the SSH pr ...
  • 它与文本文件行结尾和FTP传输模式有关。 Windows中的文本文件在结尾处使用回车符和换行符的组合。 Mac OS9中的文本文件只能使用回车。 UNIX及其克隆(包括OSX)中的文本文件仅使用换行符。 这听起来像是你将一个UNIX风格的文本文件以二进制模式拖到Windows系统中,然后尝试在不理解这些差异的编辑器中查看它。 FTP客户端使用ASCII(或ASC)传输模式为您执行这些转换。 但它通常不会默认打开,因为它会弄乱二进制文件。 两种解决方案是使用理解差异的编辑器,或者使用FTP客户端,它允许您告诉 ...
  • 您需要从特定于平台的库中注入代码。 为什么不使用像MVVMCross这样的MVVM框架呢? https://github.com/mvvmcross/mvvmcross You need to inject code from platform specific libraries. Why not using MVVM framework like MVVMCross that helps a lot with this? https://github.com/mvvmcross/mvvmcross
  • 我根据本文和其他人的答案输入创建了以下自动化解决方案,以解决我的问题,意思是:在不太可能发生并发的情况下,从不同品牌的不同FTP服务器中提取文件。 在这篇文章中使用信号文件或其他机制建议将强制客户端改变他们与我们交互的方式,因此它是大多数情况下的解决方案,但不是我特定问题的解决方案。 所以,我的解决方案是: 扫描文件夹解析每个文件的文件名,数据和大小。 丢弃任何太新的文件。 仅当文件日期早于几分钟时才考虑下载。 挂起可能会导致此规则无法阻止并发。 重命名文件。 它失败了,跳出来。 这种基于并发性的方法到目前 ...
  • 作为Black Raccoon的作者,也许我有偏见(好吧,我知道我有偏见),但我试图让它变得尽可能简单和强大。 让我们来看看你想做什么,上传一个文件: 我们需要上传文件的四件事 - 启动代码,然后是四个委托方法:覆盖检查,数据,成功和失败。 假设您将整个文件读入内存(对于小于2兆的小文件,可以)。 首先,在标题中需要这个: BRRequestUpload *uploadData; // Black Raccoon's upload object NSData *uploadData; ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)