Snippets

Change PHP version with Webinoly in Ubuntu/Debian

Posted by I. B. Gd Pramana A. Putra, 28 Jun 22, last updated 17 Jul 22

If you're using Webinoly to install the LEMP stack for you and you want to change the PHP version which installed by the tool, you can use the following Webinoly command:

$ sudo stack -php-ver=7.4

The command above will change the current PHP version installed (let say 8.x) to PHP 7.4 version and all the corresponding stacks that previously depends on PHP 8.x.

I love sharing code snippets as most of the time, a quick code example is what we're looking for instead of long-written articles. If you think my code snippets are helpful and save you a lot of time, please consider buying me a cup of coffee :)

Support me via · paypal · buymeacoffee · ko-fi · trakteer
Contributed Snippets
Answer & Responses
    No comments yet

Wanna write a response?

You have to login before write a comment to this post.