How to solve 'This php extension is not installed on your server' problem

藏色散人
Release: 2023-03-11 16:42:01
Original
2465 people have browsed it

Solution to "This php extension is not installed on your server": 1. Remove the semicolon before "extension=php_curl.dll"; 2. Set "c:/php/ext"; 3. Copy The relevant files can be placed in the system32 directory.

How to solve 'This php extension is not installed on your server' problem

The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer

How to solve "Your server is not installed" This php extension" problem?

Introduction:

Your server does not have this PHP extension installed: curl... Failed

If this appears when installing cms: Your server does not have this PHP extension installed: curl... Failed

The solution is as follows:

1. Find extension=php_curl.dll in php.ini , remove the previous comments.

2. Set extension_dir=c:/php/ext //Your own ext directory location under PHP

3. Copy libeay32.dll, ssleay32.dll, php5ts .dll, php_curl.dll, and php.ini are all copied to the system32 directory, and restart apache or IIS.

Note:

php_curl.dll:

cURL is a tool that uses URL syntax to transfer files and data. It supports many protocols, such as HTTP, FTP, TELNET, etc. Such as collection function

Similarly: if you encounter:

When installing cms, if it appears: Your server does not have this PHP extension installed: gd... Failed

1. Find extension=php_gd2.dll in php.ini and remove the previous comment.

2. Set extension_dir=c:/php/ext //your own ext directory under PHP Location

3. Copy php_gd2.dll to the system32 directory and restart apache or IIS.

Note:

php_gd2.dll: GD library extension file, user-processed Pictures, such as generating pictures, cropping and compressing pictures, watermarking pictures, etc.

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of How to solve 'This php extension is not installed on your server' problem. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template