标准安装apache和php之后,如果需要gd库的支持,只需要执行如下命令就ok了:
<pre class="brush:bash;"> #安装gd库 apt-get install php5-gd #重启apache /etc/init.d/apache2 restart ```
ubuntu 增加 apache php gd gd2 库 支持