Skip to content

Commit c099ce5

Browse files
author
Jamie Hannaford
committed
Shift minimum PHP version to 5.4
1 parent 067cf97 commit c099ce5

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ so that you can still use the SDK with a pure OpenStack instance
1616

1717
Requirements
1818
------------
19-
* PHP >=5.3.3
19+
* PHP >=5.4
2020
* cURL extension for PHP
2121

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).
23+
2224
Installation
2325
------------
2426
You must install this library through Composer:

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,11 @@
2626
}
2727
},
2828
"require": {
29-
"php" : ">=5.3.3",
29+
"php" : ">=5.4",
3030
"guzzle/guzzle" : "~3.8",
3131
"psr/log": "~1.0"
3232
},
3333
"require-dev" : {
34-
"php": ">=5.4",
3534
"phpunit/phpunit": "4.3.*",
3635
"satooshi/php-coveralls": "0.6.*@dev",
3736
"jakub-onderka/php-parallel-lint": "0.*",

doc/using-php-5.4.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Using the SDK with PHP v5.3
2+
===========================
3+
4+
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

Comments
 (0)