php-opencloud

Unable to include “vendor/autoload.php” after installing Composer on Ubuntu

流过昼夜 提交于 2019-12-12 04:35:23
问题 I'm just getting familiar with Linux servers and I'm trying to install Composer on my Ubuntu server. I think everything installed correctly except when I try to include Composer's autoloader I get a PHP error: Warning: require(/usr/share/php/opencloud/lib/../vendor/autoload.php): failed to open stream: No such file or directory in /usr/share/php/opencloud/lib/php-opencloud.php on line 5 Fatal error: require(): Failed opening required '/usr/share/php/opencloud/lib/../vendor/autoload.php'

Connecting to softlayer object storage using openstack API library php-opencloud

╄→гoц情女王★ 提交于 2019-12-11 11:09:55
问题 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 described here, it uses v2/token and softlayer object storage using v1. Does softlayer object storage that based on the same openstack doesn't support the authentication v2? I can connect to the object storage using sdk(softlayer-object-storage-php)