Install the GD-Linux Enterprise Application-Linux server application of PHP in Linux. For more information, see. Yesterday, Fleaphp was installed on the CentOS system, and an image volume example was run. Its functions include uploading images and generating image thumbnails. the following error message is displayed: call to undefined function: imagecreatefromjpeg () in.
So I checked the manual and guessed that GD was not installed. I found the article "GD: Installing the GD support library for PHP in Linux" on the Internet. Install it here, but I found that it is not suitable for my current situation, because my system has used yum to install php, I would like to ask for a cookie in the evening and learn that yum install php-gd.
I did this practice today, but due to carelessness, I mistakenly wrote php-gd as php-gb, So I reported an error:
CODE: Reading repository metadata in from local files Primary.xml.gz 100% | =======================| 1.0 MB Http://apt.sw.be/redhat/el4/en/ I #/dag/repodata/primary.xml.gz: [Errno-1] Metadata file does not match checksum Trying other mirror. Error: failure: repodata/primary.xml.gz from dag: [Errno 256] No more mirrors to try. |