I am a newbie to Roundcube and to composer.
My new Roundcube 1.2.4 installation on Centos 7.3.1611 seems to be working well despite an issue with composer but I can't add anything with composer.
Here is the output from my composer run:
[scldad@server roundcubemail]$ php composer.phar install --no-dev
Loading composer repositories with package information
Initializing PEAR repository
https://pear.php.netPEAR repository from
https://pear.php.net could not be loaded. The "
https://pear.php.net/rest/c/Date+and+Time/packagesinfo.xml" file could not be downloaded: failed to open stream: Connection timed out
Reading composer.json of roundcube/net_sieve (RELEASE_1_1_6) Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package pear-pear.php.net/net_socket could not be found in any version, there may be a typo in the package name.
Problem 2
- The requested package pear-pear.php.net/auth_sasl could not be found in any version, there may be a typo in the package name.
Problem 3
- The requested package pear-pear.php.net/net_idna2 could not be found in any version, there may be a typo in the package name.
Problem 4
- The requested package pear-pear.php.net/mail_mime could not be found in any version, there may be a typo in the package name.
Problem 5
- The requested package pear-pear.php.net/net_smtp could not be found in any version, there may be a typo in the package name.
Problem 6
- The requested package pear-pear.php.net/crypt_gpg could not be found in any version, there may be a typo in the package name.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Here is my composer.json. It is the release version with automatic-addressbook added and secure-http turned off in an attempt to fix the issue:
{
"name": "roundcube/roundcubemail",
"description": "The Roundcube Webmail suite",
"license": "GPL-3.0+",
"repositories": [
{
"type": "pear",
"url": "
https://pear.php.net/"
},
{
"type": "composer",
"url": "
https://plugins.roundcube.net/"
},
{
"type": "vcs",
"url": "
https://github.com/roundcube/Net_Sieve.git"
},
{
"type": "vcs",
"url": "
https://git.kolab.org/diffusion/PNL/php-net_ldap.git"
}
],
"require": {
"php": ">=5.3.7",
"pear/pear-core-minimal": "~1.10.1",
"roundcube/plugin-installer": "~0.1.6",
"pear-pear.php.net/net_socket": "~1.0.12",
"pear-pear.php.net/auth_sasl": "~1.0.6",
"pear-pear.php.net/net_idna2": "~0.1.1",
"pear-pear.php.net/mail_mime": "~1.10.0",
"pear-pear.php.net/net_smtp": "~1.7.1",
"pear-pear.php.net/crypt_gpg": "~1.4.2",
"roundcube/net_sieve": "~1.5.0",
"sblaisot/automatic_addressbook": "~0.4.2"
},
"require-dev": {
"phpunit/phpunit": "*"
},
"suggest": {
"pear-pear.php.net/net_ldap2": "~2.2.0 required for connecting to LDAP address books",
"kolab/Net_LDAP3": "dev-master required for connecting to LDAP address books"
},
"minimum-stability": "dev",
"config":{
"secure-http" : false
}
}
TIA,
Stephen