Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/245.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Memcached不适用于PHPFox-“用户警告:找不到短语:x.y”_Php_Memcached_Phpfox - Fatal编程技术网

Memcached不适用于PHPFox-“用户警告:找不到短语:x.y”

Memcached不适用于PHPFox-“用户警告:找不到短语:x.y”,php,memcached,phpfox,Php,Memcached,Phpfox,我正在尝试使用PHPFox设置memcached服务器。我已经有两个运行memcached的VPSE,如果PHPFox config中只给出了这两个VPSE,则没有警告。我想再加一个,我们称之为第三个 虽然配置与我将memcached config从第一个VP复制到新的第三个VP相同,但PHPFox显示了许多警告,如: 用户警告:找不到短语:base.name-include/library/phpfox/error/error.class.php 95 我不知道会出什么问题 PHPFox连接到

我正在尝试使用PHPFox设置memcached服务器。我已经有两个运行memcached的VPSE,如果PHPFox config中只给出了这两个VPSE,则没有警告。我想再加一个,我们称之为第三个

虽然配置与我将memcached config从第一个VP复制到新的第三个VP相同,但PHPFox显示了许多警告,如: 用户警告:找不到短语:base.name-include/library/phpfox/error/error.class.php 95

我不知道会出什么问题

PHPFox连接到第三个VP,但无法获取值。 如果memcached关闭,则会出现一条消息,如“无法连接到memcached服务器”。没有这样的消息,因此PHPFox必须连接到memcached

下面是我使用的示例配置:

# Run memcached as a daemon. This command is implied, and is not needed for the
# daemon to run. See the README.Debian that comes with this package for more
# information.
-d

# Log memcached's output to /var/log/memcached
logfile /var/log/memcached.log

# memory
-m 1024

# Default connection port is 11211
-p 11211

# Run the daemon as root. The start-memcached will default to running as root if no
# -u command is present in this config file
-u nobody

# Specify which IP address to listen on. The default is to listen on all IP addresses
# This parameter is one of the only security measures that memcached has, so make sure
# it's listening on a firewalled interface.
-l x.x.x.x # productive server IP (PHPFox)

# Limit the number of simultaneous incoming connections. The daemon default is 1024
-c 10240
有人能帮我吗?我将不胜感激

编辑:
我可以用telnet连接到thirdVpsIP:11211并执行命令。因此,我认为memcached的配置是正确的。

不要只是引用站点之外的代码,而是在您的答案中包含实际的代码。如果你的链接坏了,我们将丢失信息,你的问题将在将来对其他人毫无价值。好的,对不起。我在这里添加了示例配置。