You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For SDKs in different languages, see http://developer.rackspace.com.
7
+
Our official documentation is now available on http://docs.php-opencloud.com. For SDKs in different languages, see http://developer.rackspace.com.
8
8
9
9
The PHP SDK should work with most OpenStack-based cloud deployments,
10
10
though it specifically targets the Rackspace public cloud. In
@@ -16,9 +16,11 @@ so that you can still use the SDK with a pure OpenStack instance
16
16
17
17
Requirements
18
18
------------
19
-
* PHP >=5.3.3
19
+
* PHP >=5.4
20
20
* cURL extension for PHP
21
21
22
+
**Note**: Since PHP 5.3 has reached [end of life](http://php.net/eol.php) and is no longer officially supported, we are moving to 5.4 as a minimum requirement. If upgrading is not an option and you still need a stable version of the SDK for 5.3, please follow [this guide](http://docs.php-opencloud.com/en/latest/using-php-5.3).
`Get the executable PHP script for this example <https://raw.githubusercontent.com/rackspace/php-opencloud/master/samples/ObjectStore/list-objects.php>`_
178
178
179
179
180
+
List over 10,000 objects
181
+
------------------------
182
+
183
+
To retrieve more than 10,000 objects (the default limit), you'll need to use
184
+
the built-in paging which uses a 'marker' parameter to fetch the next page of data.
`Get the executable PHP script for this example <https://raw.githubusercontent.com/rackspace/php-opencloud/master/samples/ObjectStore/list-objects-over-10000.php>`_
@@ -326,6 +362,41 @@ the name of the object inside the container that does not exist yet.
326
362
`Get the executable PHP script for this example <https://raw.githubusercontent.com/rackspace/php-opencloud/master/samples/ObjectStore/copy-object.php>`_
327
363
328
364
365
+
Symlinking to this object from another location
366
+
-----------------------------------------------
367
+
368
+
To create a symlink to this file in another location you need to specify
Where ``container_2`` is the name of the container, and ``new_object_name`` is
376
+
the name of the object inside the container that either does not exist yet or
377
+
is an empty file.
378
+
379
+
`Get the executable PHP script for this example <https://raw.githubusercontent.com/rackspace/php-opencloud/master/samples/ObjectStore/symlink-object.php>`_
380
+
381
+
382
+
Setting this object to symlink to another location
Where ``container_2`` is the name of the container, and ``new_object_name`` is
393
+
the name of the object inside the container.
394
+
395
+
The object must be an empty file.
396
+
397
+
`Get the executable PHP script for this example <https://raw.githubusercontent.com/rackspace/php-opencloud/master/samples/ObjectStore/symlink-object.php>`_
Since PHP 5.3 has entered EOL and no longer receives security updates, we have bumped the minimum requirement to 5.4. Using 5.3 is still possible, however, but you will need to use an older stable version of the SDK. There are two ways to do this.
5
+
6
+
The first way is by requiring it through the command line:
7
+
8
+
.. code-block:: bash
9
+
10
+
composer require rackspace/php-opencloud:1.12
11
+
12
+
The second way is by updating your composer.json file, and specifying the appropriate version of the SDK:
13
+
14
+
.. code-block:: json
15
+
16
+
"require": {
17
+
"rackspace/php-opencloud": "~1.12"
18
+
}
19
+
20
+
Note that **1.12** is the last minor release supporting PHP 5.3. Version 1.13 and above has shifted to PHP 5.4.
0 commit comments