Jump to content
thirty bees forum
  • 0

How to install gd to windows xampp server



4 answers to this question

Recommended Posts

  • 0

Apparently you didn't run

sudo apt-get install php-mbstring

That said, latest Ubuntu installs PHP8 by default, which isn't compatible with thirty bees. PHP 7.4 works much better:

sudo apt-get install --no-install-recommends libapache2-mod-php7.4 php7.4-gd
sudo apt-get install --no-install-recommends php7.4-bcmath php7.4-xml
sudo apt-get install --no-install-recommends php7.4-json php7.4-zip
sudo apt-get install --no-install-recommends php7.4-mysql php7.4-mbstring
sudo apt-get install --no-install-recommends php7.4-curl

Then switch Apache and command line to actually use PHP7.4:

sudo a2dismod php\*
sudo a2enmod php7.4
sudo service apache2 restart
sudo update-alternatives --set php /usr/bin/php7.4


Edited by Traumflug
Forgot update-alternatives
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...