Solve WordPress image upload problems

Source: Internet
Author: User
Tags curl

For example:
There are no HTTP transports available which can complete the requested request.
Someone said it was because of the lack of php5-curl modules, my server system ran openSUSE 13.1 64-bit, checking the php5-curl:

The code is as follows: Copy code
Zypper info php5-curl

The output result is as follows:
Information for package php5-curl:
----------------------------------
Repository: openSUSE-13.1-Update
Name: php5-curl
Version: 5.4.20-30.1
Arch: i586
Vendor: openSUSE
Installed: No
Status: not installed
Installed Size: 70.2 KiB
Summary: PHP5 Extension Module
Description:
PHP interface to libcurl that allows you to connect to and communicate
With servers of different types, using protocols of different
Types.
Please note Installed: No. It is not Installed yet.
Install:

The code is as follows: Copy code
Sudo zypper install php5-curl
Then restart Apache on the server:
Sudo/usr/sbin/rcapache2 restart

Then the image can be uploaded and no error is reported. Some people say they want to modify the configuration of the php. ini file, but I don't need it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.