Library for developers using PHP to work with OpenStack Rackspace Cloud Files Container Using The Open Cloud API.
Questions tagged [php-opencloud]
19 questions
4
votes
1 answer
PHP OpenCloud\Rackspace Problems
I am having problems trying to get the Rackspace Opencloud API to work as expected (particularly the cloud files).
I have been following these…

Warren
- 143
- 11
3
votes
1 answer
How to access and upload files into folders on rackspace open cloud container using PHP?
I am using composer package 'rackspace/php-opencloud' installed with
composer require rackspace/php-opencloud
and trying to upload and get the list of files inside the folder
included the autoload file and add
require…

Prashant Barve
- 4,105
- 2
- 33
- 42
3
votes
1 answer
serverList() only returns 100 results
I'm trying to write a bit of code to inventory our OpenStack deployment, and I've run into an issue where serverList() only ever returns 100 results instead of the 600+ I'm expecting. I've reviewed the documentation and a bit of the source, and as…

Sammitch
- 30,782
- 7
- 50
- 77
2
votes
2 answers
Rackspace php-opencloud how do I create a folder
When I upload a file using $container->uploadObjects($files) I can include the directory path in the name to make a new folder. If I use Cyberduck I can see the new folder.
But if I try and get an object list with $container->objectList($options) it…

dietcode
- 23
- 5
1
vote
1 answer
Rackspace open cloud library Guzzle error
I am using OpenCloud library for Rackspace cloud files. Is there any updated library to use for Rackspace cloud files?
The current library works OK but gives the following error on composer:
Package guzzle/guzzle is abandoned, you should avoid using…

Raja Amer Khan
- 1,489
- 10
- 31
1
vote
1 answer
PHP OpenCloud/OpenStack how to create container for public access
Using Laravel with OpenCloud/OpenStack, I can create a container using the createContainer function but it creates a private container by default and I would like to create a container with public read access (which can be done from the hosting…

user3280979
- 9
- 2
1
vote
1 answer
Php-opencloud Object Storage download file, GuzzleStream, how to>
How do I download my object using Php-opencloud?
http://docs.os.php-opencloud.com/en/latest/services/object-store/v1/objects.html
In the documentation I see.
$stream = $openstack->objectStoreV1()
->getContainer('{containerName}')
…

Sen
- 308
- 2
- 13
1
vote
1 answer
Connecting to softlayer object storage using openstack API library php-opencloud
Is there someone tried to connect to softlayer object storage using the php-opencloud library?
I got 400 bad response when the library trying to make authentication.
From what I see inside the php-opencloud library, It use authentication method…

Alvin Tanjaya
- 13
- 4
1
vote
1 answer
uploading large object to Cloudfiles returns different md5
So I have this code and I'm trying to upload large files as per https://github.com/rackspace/php-opencloud/blob/master/docs/userguide/ObjectStore/Storage/Object.md to Rackspace:
$src_path = 'pathtofile.zip'; //about 700MB
$md5_checksum =…

pillarOfLight
- 8,592
- 15
- 60
- 90
1
vote
1 answer
List rackspace CDN-enabled containers with php-opencloud
The documentation states
To list CDN-only containers, follow the same operation for Storage which lists all containers. The only difference is which service object you execute the method on.
But what is the right service object. I tried:
$service…

tic2000
- 66
- 5
1
vote
1 answer
Rackspace php-opencloud API calls - can't get importCredentials() to work
I am using the php-opencloud / Rackspace SDK.
I only have one user connecting to the API, which is the entire site that is running.
By default it will make an authentication request before every API call, which is of course crazy.
I want to simply…

user2143356
- 5,467
- 19
- 51
- 95
0
votes
1 answer
php-opencloud openstack download image but unable to save it in a local file
Using php-opencloud, I manage to connect to trigger the download of my images. Large files (20, 30, or 50 GB).
Following the doc, with
$image = $service->getImage($image_id);
$stream = $image->downloadData();
I can see that Psr7 is downloading…

ZalemCitizen
- 474
- 7
- 13
0
votes
1 answer
PHP SDK Opencloud/Openstack - How to add X-Storage-Policy in header?
I am using php sdk openstack v1 for opencloud and I would like to know while creating container I want to add custom header for "X-Storage-Policy" then how can i add custom header?

Amar
- 47
- 1
- 6
0
votes
0 answers
mysql explain result just have DATA_NODE and SQL
after executing explain in mysql client, the result is:
mysql> explain select * from tbl_demo;
+-----------+------------------------+
| DATA_NODE | SQL |
+-----------+------------------------+
| dn1 | select * from tbl_demo…

Will Shek
- 1
- 1
0
votes
1 answer
How to get folder size from folder inside Rackspace Cloud Files container using PHP?
Basically I have created a container inside Rackspace Cloud Files, lets say work. Inside work I have so many folders by username (dynamic folders as new users register and allocate 1 GB of space). Every time a user uploads a file, I want to check…

kamlesh.bar
- 1,774
- 19
- 38