Your client application must bind with ``librados`` to connect to the Ceph
Storage Cluster. You must install ``librados`` and any required packages to
write applications that use ``librados``. The ``librados`` API is written in
-C++, with additional bindings for C, Python and Java.
+C++, with additional bindings for C, Python, Java and PHP.
Getting librados for C/C++
Save this as rados.php and run the code::
+
php rados.php
PHP Example
-----------
-.. code-block: php
+.. code-block:: php
+
+ <?php
$io = rados_ioctx_create($r, "mypool");
rados_write_full($io, "oidOne", "mycontents");