i have my droplet with ubuntu 18.10 and php 5.6. I need install php-zip and php-xml, when i run apt-get install php-zip or apt-get install php-xml, i get “php-zip is already installed” but php -m dont show. If enable extension=zip.so i get “unable to load library”. How i get php-zip an php-xml? thanks.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @arcano162a0753f8ba1074e549,
You can install the php extensions like the following
sudo apt-get install php5.6-zip php5.6-xml
In fact you can install any PHP extension using the command above.
Please make sure you’ve ran
sudo apt-get update
sudo apt-get upgrade
Beforehand.
Regards, KDSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.