However, I’ve since realised that GD Library isn’t running, as it wasn’t included with the standard PHP installation. Testing it on a Wordpress install on my droplet, the image uploads, but no other sizes are created. I’ve since found this question:
…which details using apt-get lớn install php-gd for PHP7, but I can’t find anything that works for yum. I am pretty new khổng lồ hệ thống setups so I’m stumbling around in the dark a bit here.
Bạn đang xem: How to install phpAdd a comment
Join the darkedeneurope.com Community
Join 1M+ other developers and:Get help and chia sẻ knowledge in Q&ASubscribe khổng lồ topics of interestGet courses & tools that help you grow as a developer or small business owner Join Now
Connect lớn DB installed inkhổng lồ dedicated VPS (private networking) Question
Is both HTTP and HTTPS versions should be verified in Webmaster Tools? Question
Add a comment
Leave a comment
Sign In lớn Comment
These answers are provided by our Community. If you find them useful, show some love sầu by clicking the heart. If you run inkhổng lồ issues leave sầu a comment, or add your own answer to help others.×
Submit an Answer
Submit an answer
You can type !ref in this text area lớn quickly tìm kiếm our full mix of tutorials, documentation & marketplace offerings and insert the link!
Sign In to lớn Answer
indextwo May 27, 2017
I should have sầu paid more attention lớn the naming convention - even though I couldn’t find GD Library in IUS’s package danh sách, it is there. I just ran:
subởi vì yum install php70u-gd
It wasn’t until I tried grabbing a menu of all installed PHPhường packages that I noticed the naming convention was probably key. If anyone is curious about their own installation, you can run:
yum danh mục installed *php*
I have sầu it installed on my centos 7 droplet, currently running php 7.1.5
Package name is php71w-gd
I’m using the Webtatic repo: https://webtatic.com/packages/php71/
dustbuster October 13, 2018
After some struggle trying lớn get the package right for centos it wound up being: yum install php-gd
The other packages are not available any more.
Looking for something else?
Ask a new question Search for more help
Get our biweekly newsletter
Sign up for Infrastructure as a Newsletter.
Hollie's Hub for Good
Working on improving health & education, reducing inechất lượng, and spurring economic growth? We'd like to help.
Become a contributor
You get paid; we donate lớn tech nonprofits.Featured on Community Kubernetes Course Learn Python thả 3 Machine Learning in Pynhỏ nhắn Getting started with Go Intro to lớn Kubernetes darkedeneurope.com Products Virtual Machines Managed Databases Managed Kubernetes Bloông chồng Storage Object Storage Marketplace VPC Load Balancers
Welcome to lớn the developer cloud
darkedeneurope.com makes it simple to lớn launch in the cloud & scale up as you grow – whether you’re running one virtual machine or ten thousvà.Learn More
× Join the Community
Before you can vì chưng that To complete this action, sign in to your Community account or create a new one.
Sign In Sign Up
Community Products Customers