PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, August 31, 2022

[FIXED] How do you force PEAR to download alpha/beta dependencies automatically?

 August 31, 2022     pear, php     No comments   

Issue

When installing a package from PEAR, if the package is in alpha or beta mode, you can add a suffix to the package name to install the appropriate version; for example, running

sudo pear install openid

fails, but

sudo pear install openid-alpha

works.

But how about dependencies? In the example above, the OpenID in PEAR depends on 4 other packages that are also in alpha/beta.

Is there a way to make PEAR load the alpha/beta dependencies without manually installing each one?


Solution

pear config-set preferred_state alpha


Answered By - Alexey Borzov
Answer Checked By - Candace Johnson (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing