---
title: "ubuntu增加apache+php的gd库支持"
author: "deaboway"
date: "2011-06-27T20:56:00Z"
tags: []
slug: "ubuntu-apache-php-gd"
draft: false
lastmod: "2016-11-24T09:55:54Z"
id: 2340674
url: "https://deaboway.iteye.com/blog/2340674"
---

[http://hi.baidu.com/yevsfeng139/ ... bef80e8601b018.html](http://hi.baidu.com/yevsfeng139/blog/item/6b15f6755cbef80e8601b018.html)

http://www.huilinwang.com/blog/post/280.html

标准安装apache和php之后，如果需要gd库的支持，只需要执行如下命令就ok了：

1 #安装gd库

2 apt-get install php5-gd

3

4 #重启apache

5 /etc/init.d/apache2 restart