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.