Jump to content
thirty bees forum
  • 0

How to install gd to windows xampp server


Question

4 answers to this question

Recommended Posts

  • 0
Posted

That was solved by installing the shop to ubuntu vps server but now i cant install the SimpleXML when i go to phpinfo file that i created the extension is listed there. image.png.2a1e6b256d442daf184577ddd9f7d1ca.png

  • 0
Posted

Okay UPDATE


Found someone who has the same problem and folowed one tutorial:
image.png.2eed36ba791da2f720cc3bc127bfb6c1.png


But there i have two errors with the composer:
image.thumb.png.a510e1a11260d08422642f9572606e93.png

  • 0
Posted (edited)

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

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...