[PHP] Installing a beta PECL package
Published on 2020-04-01 • Modified on 2020-04-01
I always forget this one. We must set the preferred_state
setting. Once the package is installed, you can restore the previous setting. For example, for the geoip package, if you don't set the state to beta, PECL will install the 1.0.8 version. Otherwise, it will instal the 1.1.1 release. In some cases, the 1.0.8 version can't be compiled while all is OK with the beta version 🧐.
pecl config-set preferred_state beta
pecl install geoip
pecl config-set preferred_state stable
More on Stackoverflow Read the doc More on the web Random snippet
Call to action
Did you like this post? You can help me back in several ways: (use the "reply" link on the right to comment or to contact me )
- Report any error/typo.
- Report something that could be improved.
- Like and repost!
- Follow me on Bluesky 🦋
- Subscribe to the RSS feed.
- Click on the More on Stackoverflow buttons to make me win "Announcer" badges 🏅.
Thank you for reading! And see you soon on Strangebuzz! 😉