Linux

GodFu1012 2017-11-08 10:44:37
nginx: [emerg] unknown directive "<?xml" in /etc/nginx/sites-enabled/package.xml:182
nginx: configuration file /etc/nginx/nginx.conf test failed


有错吗
root@master:/etc/nginx/sites-enabled# vi package.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <package packagerversion="1.9.4" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net /dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
3 <name>memcache</name>
4 <channel>pecl.php.net</channel>
5 <summary>memcached extension</summary>
6 <description>Memcached is a caching daemon designed especially for
7 dynamic web applications to decrease database load by
8 storing objects in memory.
9 This extension allows you to work with memcached through
10 handy OO and procedural interfaces.</description>
11 <lead>
12 <name>Antony Dovgal</name>
13 <user>tony2001</user>
14 <email>tony@daylessday.org</email>
15 <active>no</active>
16 </lead>
17 <lead>
18 <name>Mikael Johansson</name>
19 <user>mikl</user>
20 <email>mikael@synd.info</email>
21 <active>yes</active>
22 </lead>
23 <lead>
24 <name>Herman Radtke</name>
25 <user>hradtke</user>
26 <email>hradtke@php.net</email>
27 <active>yes</active>
28 </lead>
29 <date>2012-09-23</date>
30 <time>01:51:08</time>
31 <version>
32 <release>2.2.7</release>
33 <api>2.2.7</api>
34 </version>
35 <stability>
36 <release>stable</release>
37 <api>stable</api>
38 </stability>
39 <license uri="http://www.php.net/license">PHP License</license>
40 <notes>
41 - PHP 5.4 compatibility
42 - Fixed return value error get_host_port_from_server().
43 - Fixed PECL Bug #16672 (memcache.php doesn't support unix socket)
44 - Fixed pecl bug #19374 (memcache.php throws Notice: Undefined index: VALUE when viewing expired items)
45 </notes>
46 <contents>
47 <dir name="/">
48 <file md5sum="d66273f5302ef861f5df379ef65d2744" name="config.m4" role="src" />
49 <file md5sum="eccdb5e667a8b9cfb3e10546cbb18e75" name="config9.m4" role="src" />
50 <file md5sum="abdff1cdc257531a30a8057d52e7e029" name="config.w32" role="src" />
51 <file md5sum="f818c8af5b84d8c936eca307b63aafec" name="CREDITS" role="doc" />
52 <file md5sum="5b6b03aebb60f141416489a527b2c9be" name="example.php" role="doc" />
53 <file md5sum="c65b20eb11e892a430dceaaa6694223a" name="memcache.c" role="src" />
54 <file md5sum="08bcc27523479dd1cd79b0116116a30a" name="memcache_queue.c" role="src" />
55 <file md5sum="a956b2a3834989ae5400b289289c7a2c" name="memcache_session.c" role="src" />
56 <file md5sum="797a8c134e32d8730a09b14345176acb" name="memcache_standard_hash.c" role="src" />
57 <file md5sum="1359bd655888b379c035b75f9909fafa" name="memcache_consistent_hash.c" role="src" />
58 <file md5sum="a0904f003d7ae14ff22c15fd0c417ceb" name="memcache.dsp" role="src" />
59 <file md5sum="515fe1000ecf06cf0ebb7cfcd1e78e0a" name="php_memcache.h" role="src" />
60 <file md5sum="041ef6076023d98abd357002ce0ee9e3" name="memcache_queue.h" role="src" />
61 <file md5sum="9b003fbed1a7f05c96154fb7b13fce2d" name="README" role="doc" />
62 <file md5sum="11989aca389e375b3efae0a9438c0296" name="memcache.php" role="doc" />
63 </dir>
64 </contents>
65 <dependencies>
66 <required>
...全文
148 1 点赞 打赏 收藏 举报
写回复
1 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
相关推荐
发帖
基础编程
加入

2.1w+

社区成员

从PHP安装配置,PHP入门,PHP基础到PHP应用
申请成为版主
帖子事件
创建了帖子
2017-11-08 10:44
社区公告
暂无公告