Ubuntu Linux install or add php gd support to Apache
2011-09-12 11:53
597 查看
Q. I am using Apache server and PHP5. How do I install install php gd support?
A. PHP is used mainly in server-side application software along with various addons.
PHP includes a large number of free and open source libraries with the core build. PHP is a fundamentally Internet-aware system with modules built in for accessing FTP servers, many database servers, embedded SQL libraries such as embedded MySQL and SQLite,
LDAP servers, and others. Many functions familiar to C programmers such as those in the stdio family are available in the standard PHP build.
The GD Graphics Library for dynamically manipulating images. You will need to compile PHP with the GD library of image functions for this to work.
However Ubuntu (and Debian) comes with package called php5-gd
Just type following command to install this module:
OR
Restart Apache
Test your php application.
A. PHP is used mainly in server-side application software along with various addons.
PHP includes a large number of free and open source libraries with the core build. PHP is a fundamentally Internet-aware system with modules built in for accessing FTP servers, many database servers, embedded SQL libraries such as embedded MySQL and SQLite,
LDAP servers, and others. Many functions familiar to C programmers such as those in the stdio family are available in the standard PHP build.
The GD Graphics Library for dynamically manipulating images. You will need to compile PHP with the GD library of image functions for this to work.
However Ubuntu (and Debian) comes with package called php5-gd
Just type following command to install this module:
# apt-get install php5-gd
OR
$ sudo apt-get install php5-gd
Restart Apache
# /etc/init.d/apache2 restart
Test your php application.
相关文章推荐
- How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04
- How To Install Or Upgrade LAMP: Linux, Apache, MySQL and PHP Stack Using Yum
- How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 14.04
- How To Install LAMP (Linux, Apache, MySQL, PHP) On Ubuntu 11.04/11.10/12.04
- How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Debian
- How to Install Linux, Apache, MySQL, PHP (LAMP) stack on CentOS 6
- How to add / install JSON support to PHP on CentOS in 10 Steps
- How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Debian
- How to install and configure Apache and PHP on ubuntu
- How to install LAMP (Apache, PHP and MySQL in Linux) using Yum
- Install apache in linux(ubuntu or redhat/centos)
- How to install Firefox 17 on Linux Mint, Ubuntu, Debian, CentOS, Fedora ... or any other Linux dist
- How to install and configure Apache, PHP, MySql and phpMyadmin on ubuntu
- Install Language support in CentOS 5 or Red Hat Enterprise Linux CentOS add Chinese Support
- PHP executable not found. Install PHP 7 and add it to your PATH or set the php.executablePath s
- Install Language support in CentOS 5 or Red Hat Enterprise Linux CentOS add Chinese Support
- how to install apache, PHP and MySQL on Linux
- how to install apache, PHP and MySQL on Linux 2
- How To Install Linux, nginx, MySQL, PHP (LEMP) stack on Ubuntu 12.04
- How to Install Linux, Apache, MySQL, PHP (LAMP) stack on CentOS 6 【Reliable】