diff --git a/reference/phdfs/book.xml b/reference/phdfs/book.xml
new file mode 100755
index 0000000000..a439873303
--- /dev/null
+++ b/reference/phdfs/book.xml
@@ -0,0 +1,41 @@
+
+
+
+
+ Phdfs
+ Phdfs
+
+The phdfs extensions is using PHP to manipulate Hadoop HDFS
+phdfs requires PHP 5.3 or greater. Earlier versions may not work.
+For a quick start guide, please refer to the Tutorials section.
+
+
+
+
+ &reference.phdfs.setup;
+ &reference.phdfs.constants;
+ &reference.phdfs.examples;
+ &reference.phdfs.reference;
+
+
+
+
diff --git a/reference/phdfs/configure.xml b/reference/phdfs/configure.xml
new file mode 100755
index 0000000000..aa01b12fc8
--- /dev/null
+++ b/reference/phdfs/configure.xml
@@ -0,0 +1,33 @@
+
+
+
+
+ &reftitle.install;
+
+
+ Use when compiling PHP.
+
+
+
+
+
+
diff --git a/reference/phdfs/constants.xml b/reference/phdfs/constants.xml
new file mode 100755
index 0000000000..473e17c17e
--- /dev/null
+++ b/reference/phdfs/constants.xml
@@ -0,0 +1,62 @@
+
+
+
+
+ &reftitle.constants;
+ &extension.constants;
+
+
+
+
+ O_WRONLY
+ (integer)
+
+
+
+
+
+
+
+
+ O_CREAT
+ (integer)
+
+
+
+
+
+
+
+
+ O_APPEND
+ (integer)
+
+
+
+
+
+
+
+
+
+
+
diff --git a/reference/phdfs/phdfs.xml b/reference/phdfs/phdfs.xml
new file mode 100755
index 0000000000..887fefe6f4
--- /dev/null
+++ b/reference/phdfs/phdfs.xml
@@ -0,0 +1,99 @@
+
+
+
+
+
+ The phdfs class
+ phdfs
+
+
+
+
+
+ &reftitle.intro;
+
+
+
+
+
+
+
+ &reftitle.classsynopsis;
+
+
+
+ phdfs
+
+
+
+
+ phdfs
+
+
+
+ &Properties;
+
+ static
+ host
+
+
+ static
+ port
+
+
+
+ &Methods;
+
+
+
+
+
+
+
+
+
+ &reftitle.properties;
+
+
+ host
+
+
+
+
+
+ port
+
+
+
+
+
+
+
+
+
+
+
+ &reference.phdfs.entities.phdfs;
+
+
+
+
diff --git a/reference/phdfs/phdfs/connect.xml b/reference/phdfs/phdfs/connect.xml
new file mode 100755
index 0000000000..08328d6458
--- /dev/null
+++ b/reference/phdfs/phdfs/connect.xml
@@ -0,0 +1,58 @@
+
+
+
+
+
+ phdfs::connect
+ Description
+
+
+
+ &reftitle.description;
+
+ public ReturnTypephdfs::connect
+
+
+
+
+
+
+ &warn.undocumented.func;
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+
+
+
+
+
+
+
+
diff --git a/reference/phdfs/phdfs/construct.xml b/reference/phdfs/phdfs/construct.xml
new file mode 100755
index 0000000000..4940a5afe3
--- /dev/null
+++ b/reference/phdfs/phdfs/construct.xml
@@ -0,0 +1,76 @@
+
+
+
+
+
+ phdfs::__construct
+ Description
+
+
+
+ &reftitle.description;
+
+ public phdfs::__construct
+ stringip
+ stringport
+
+
+
+
+
+ &warn.undocumented.func;
+
+
+
+
+ &reftitle.parameters;
+
+
+ ip
+
+
+
+
+
+
+
+ port
+
+
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+
+
+
+
+
+
+
+
diff --git a/reference/phdfs/phdfs/copy.xml b/reference/phdfs/phdfs/copy.xml
new file mode 100755
index 0000000000..9834798574
--- /dev/null
+++ b/reference/phdfs/phdfs/copy.xml
@@ -0,0 +1,76 @@
+
+
+
+
+
+ phdfs::copy
+ Description
+
+
+
+ &reftitle.description;
+
+ public ReturnTypephdfs::copy
+ stringsource_file
+ stringdestination_file
+
+
+
+
+
+ &warn.undocumented.func;
+
+
+
+
+ &reftitle.parameters;
+
+
+ source_file
+
+
+
+
+
+
+
+ destination_file
+
+
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+
+
+
+
+
+
+
+
diff --git a/reference/phdfs/phdfs/create-directory.xml b/reference/phdfs/phdfs/create-directory.xml
new file mode 100755
index 0000000000..3ab4e7f69b
--- /dev/null
+++ b/reference/phdfs/phdfs/create-directory.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+ phdfs::create_directory
+ Description
+
+
+
+ &reftitle.description;
+
+ public ReturnTypephdfs::create_directory
+ stringpath
+
+
+
+
+
+ &warn.undocumented.func;
+
+
+
+
+ &reftitle.parameters;
+
+
+ path
+
+
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+
+
+
+
+
+
+
+
diff --git a/reference/phdfs/phdfs/delete.xml b/reference/phdfs/phdfs/delete.xml
new file mode 100755
index 0000000000..9b1cddc8f9
--- /dev/null
+++ b/reference/phdfs/phdfs/delete.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+ phdfs::delete
+ Description
+
+
+
+ &reftitle.description;
+
+ public ReturnTypephdfs::delete
+ stringpath
+
+
+
+
+
+ &warn.undocumented.func;
+
+
+
+
+ &reftitle.parameters;
+
+
+ path
+
+
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+
+
+
+
+
+
+
+
diff --git a/reference/phdfs/phdfs/destruct.xml b/reference/phdfs/phdfs/destruct.xml
new file mode 100755
index 0000000000..9117185d29
--- /dev/null
+++ b/reference/phdfs/phdfs/destruct.xml
@@ -0,0 +1,58 @@
+
+
+
+
+
+ phdfs::__destruct
+ Description
+
+
+
+ &reftitle.description;
+
+ public ReturnTypephdfs::__destruct
+
+
+
+
+
+
+ &warn.undocumented.func;
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+
+
+
+
+
+
+
+
diff --git a/reference/phdfs/phdfs/disconnect.xml b/reference/phdfs/phdfs/disconnect.xml
new file mode 100755
index 0000000000..cc452ecab3
--- /dev/null
+++ b/reference/phdfs/phdfs/disconnect.xml
@@ -0,0 +1,58 @@
+
+
+
+
+
+ phdfs::disconnect
+ Description
+
+
+
+ &reftitle.description;
+
+ public ReturnTypephdfs::disconnect
+
+
+
+
+
+
+ &warn.undocumented.func;
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+
+
+
+
+
+
+
+
diff --git a/reference/phdfs/phdfs/exists.xml b/reference/phdfs/phdfs/exists.xml
new file mode 100755
index 0000000000..d3c2b7984a
--- /dev/null
+++ b/reference/phdfs/phdfs/exists.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+ phdfs::exists
+ Description
+
+
+
+ &reftitle.description;
+
+ public ReturnTypephdfs::exists
+ stringpath
+
+
+
+
+
+ &warn.undocumented.func;
+
+
+
+
+ &reftitle.parameters;
+
+
+ path
+
+
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+
+
+
+
+
+
+
+
diff --git a/reference/phdfs/phdfs/file-info.xml b/reference/phdfs/phdfs/file-info.xml
new file mode 100755
index 0000000000..f5bc5f6685
--- /dev/null
+++ b/reference/phdfs/phdfs/file-info.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+ phdfs::file_info
+ Description
+
+
+
+ &reftitle.description;
+
+ public ReturnTypephdfs::file_info
+ stringpath
+
+
+
+
+
+ &warn.undocumented.func;
+
+
+
+
+ &reftitle.parameters;
+
+
+ path
+
+
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+
+
+
+
+
+
+
+
diff --git a/reference/phdfs/phdfs/list-directory.xml b/reference/phdfs/phdfs/list-directory.xml
new file mode 100755
index 0000000000..06e9691ea0
--- /dev/null
+++ b/reference/phdfs/phdfs/list-directory.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+ phdfs::list_directory
+ Description
+
+
+
+ &reftitle.description;
+
+ public ReturnTypephdfs::list_directory
+ stringpath
+
+
+
+
+
+ &warn.undocumented.func;
+
+
+
+
+ &reftitle.parameters;
+
+
+ path
+
+
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+
+
+
+
+
+
+
+
diff --git a/reference/phdfs/phdfs/read.xml b/reference/phdfs/phdfs/read.xml
new file mode 100755
index 0000000000..a0bc3217fe
--- /dev/null
+++ b/reference/phdfs/phdfs/read.xml
@@ -0,0 +1,76 @@
+
+
+
+
+
+ phdfs::read
+ Description
+
+
+
+ &reftitle.description;
+
+ public ReturnTypephdfs::read
+ stringpath
+ stringlength
+
+
+
+
+
+ &warn.undocumented.func;
+
+
+
+
+ &reftitle.parameters;
+
+
+ path
+
+
+
+
+
+
+
+ length
+
+
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+
+
+
+
+
+
+
+
diff --git a/reference/phdfs/phdfs/rename.xml b/reference/phdfs/phdfs/rename.xml
new file mode 100755
index 0000000000..c3847202bc
--- /dev/null
+++ b/reference/phdfs/phdfs/rename.xml
@@ -0,0 +1,76 @@
+
+
+
+
+
+ phdfs::rename
+ Description
+
+
+
+ &reftitle.description;
+
+ public ReturnTypephdfs::rename
+ stringold_path
+ stringnew_path
+
+
+
+
+
+ &warn.undocumented.func;
+
+
+
+
+ &reftitle.parameters;
+
+
+ old_path
+
+
+
+
+
+
+
+ new_path
+
+
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+
+
+
+
+
+
+
+
diff --git a/reference/phdfs/phdfs/tell.xml b/reference/phdfs/phdfs/tell.xml
new file mode 100755
index 0000000000..ec7fc9f4eb
--- /dev/null
+++ b/reference/phdfs/phdfs/tell.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+ phdfs::tell
+ Description
+
+
+
+ &reftitle.description;
+
+ public ReturnTypephdfs::tell
+ stringpath
+
+
+
+
+
+ &warn.undocumented.func;
+
+
+
+
+ &reftitle.parameters;
+
+
+ path
+
+
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+
+
+
+
+
+
+
+
diff --git a/reference/phdfs/phdfs/write.xml b/reference/phdfs/phdfs/write.xml
new file mode 100755
index 0000000000..83b1c9bf30
--- /dev/null
+++ b/reference/phdfs/phdfs/write.xml
@@ -0,0 +1,85 @@
+
+
+
+
+
+ phdfs::write
+ Description
+
+
+
+ &reftitle.description;
+
+ public ReturnTypephdfs::write
+ stringpath
+ stringbuffer
+ stringmode
+
+
+
+
+
+ &warn.undocumented.func;
+
+
+
+
+ &reftitle.parameters;
+
+
+ path
+
+
+
+
+
+
+
+ buffer
+
+
+
+
+
+
+
+ mode
+
+
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+
+
+
+
+
+
+
+
diff --git a/reference/phdfs/reference.xml b/reference/phdfs/reference.xml
new file mode 100755
index 0000000000..f21e9d76e5
--- /dev/null
+++ b/reference/phdfs/reference.xml
@@ -0,0 +1,30 @@
+
+
+
+
+ Phdfs &Functions;
+
+ &reference.phdfs.entities.functions;
+
+
+
+
diff --git a/reference/phdfs/setup.xml b/reference/phdfs/setup.xml
new file mode 100755
index 0000000000..f9aac25045
--- /dev/null
+++ b/reference/phdfs/setup.xml
@@ -0,0 +1,64 @@
+
+
+
+
+ &reftitle.setup;
+
+
+ &reftitle.required;
+
+ PHP Version: PHP 5.3+
+
+
+ ZTS Enabled ( Thread Safety )
+
+
+ need to install hadoop
+
+
+
+
+ &reftitle.install;
+
+ &pecl.moved;
+
+
+ &pecl.info;
+ &url.pecl.package;phdfs.
+
+
+
+
+ this extension has no configuration directives defined in php.ini.
+
+
+
+ &reftitle.resources;
+ &no.resource;
+
+
+
+
+
+
+
+
diff --git a/reference/phdfs/versions.xml b/reference/phdfs/versions.xml
new file mode 100755
index 0000000000..c77f2d532d
--- /dev/null
+++ b/reference/phdfs/versions.xml
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+