https://github.com/ardagnsrn/pvm-ubuntu
This is a CLI tool to manage PHP versions on Ubuntu.
https://github.com/ardagnsrn/pvm-ubuntu
php php-version-manager php83 pvm pvm-ubuntu
Last synced: 3 months ago
JSON representation
This is a CLI tool to manage PHP versions on Ubuntu.
- Host: GitHub
- URL: https://github.com/ardagnsrn/pvm-ubuntu
- Owner: ArdaGnsrn
- License: mit
- Created: 2024-03-18T23:04:46.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-23T09:26:59.000Z (over 1 year ago)
- Last Synced: 2025-04-08T20:17:59.119Z (3 months ago)
- Topics: php, php-version-manager, php83, pvm, pvm-ubuntu
- Language: C
- Homepage:
- Size: 11.7 KB
- Stars: 13
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# PHP Version Manager For Ubuntu
This is a CLI tool to manage PHP versions on Ubuntu. It's a C program that can be used to install, uninstall, and switch between PHP versions. It's a simple tool that can be used to manage PHP versions on Ubuntu.
⭐⭐\
*If you like this project, please consider **starring it**. Stars are a way to show appreciation and interest in this
project. And who knows, I may be more inclined to improve it further.*\
⭐⭐## Buy me a coffee
Whether you use this project, have learned something from it, or just like it, please consider supporting it by buying
me a coffee, so I can dedicate more time on open-source projects like this :)## Installation
To install the tool, you can run the following commands:```sh
curl -o- https://raw.githubusercontent.com/ArdaGnsrn/pvm-ubuntu/master/install.sh | sudo bash
```
```sh
wget -qO- https://raw.githubusercontent.com/ArdaGnsrn/pvm-ubuntu/master/install.sh | sudo bash
```## Usage
To use the tool, you can run the following commands:```sh
$ pvm list
Available PHP versions:
7.3
7.4
* 8.2
$ pvm install 8.1
PHP version 8.1 is installed.
You can use it by running 'pvm use 8.1'.$ pvm use 8.1
Now using PHP version 8.1.$ php -v
PHP 8.1.27 (cli) (built: Dec 21 2023 20:19:54) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.27, Copyright (c) Zend Technologies
with Zend OPcache v8.1.27, Copyright (c), by Zend Technologies$ pvm uninstall 8.1
PHP version 8.1 is uninstalled.
```## Alternatives
If you are looking for an alternative to this tool,
- [fatihozpolat/pvm-laragon](https://github.com/fatihozpolat/pvm-laragon)
- [fatihozpolat/pvm-windows](https://github.com/fatihozpolat/pvm-windows)Do you have an alternative? Please add it here and create a pull request.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details