Update PHP 3.x to PHP 4.x in wsl ( debian )

hardyweb

hardyweb

Posted on November 23, 2024

Update PHP 3.x to PHP 4.x in wsl ( debian )
  1. Make sure , in /etc/apt/source.list.d/, we have php.list
deb https://packages.sury.org/php/ bookworm main 

Enter fullscreen mode Exit fullscreen mode
  1. sudo apt update

  2. after finish update, install php4

sudo apt install php8.4-{bcmath,fpm,mysql, zip, cli, bz2,intl,ldap,soap, opcache,curl, dom, gd}
Enter fullscreen mode Exit fullscreen mode
  1. change from php 3.x to php 4.x
 sudo update-alternatives --config php
Enter fullscreen mode Exit fullscreen mode
💖 💪 🙅 🚩
hardyweb
hardyweb

Posted on November 23, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related