- Extension=php_gd2.dll
Copy CodeFind the PHP configuration file php.ini, search Extension=php_gd2.dll, remove the previous semicolon, if not, please add directly. This situation is suitable for Windows system and compile-time support for GD PHP, save and restart Apache. If it is compiled and installed, such as Ubuntu's Deb or redhat RPM-installed PHP, you can install this extension with a command: The form is as follows:
- Ubuntu:sudo Apt-get Install PHP5-GD
- Redhat:yum Install PHP-GD
Copy CodeFreeBSD can use Systeminstall package installation GD2 solve if it is compiled installation and does not choose to support GD need to install GD first, and then recompile PHP. Specific details, everyone in the installation of carefully understand it, open GD2 extension, you can apply the powerful image processing in PHP. The programmer's home, I wish you all to finish well. |