What should I do if php cannot find the dll?

藏色散人
Release: 2023-03-02 08:02:01
Original
2923 people have browsed it

The solution to the problem that php cannot find the dll: first find and open the corresponding "php.ini" file; then add the corresponding extension file path, the statement is "extension_dir="D:\app\phpstudys\PHPTutorial \php\php-7.4\ext"".

What should I do if php cannot find the dll?

When installing php, it always prompts that the .dll file cannot be found

Scenario

Download a version of php7.4. Configure the corresponding path to the path environment variable

Use php -m to view the installed modules, but it keeps prompting that openssl cannot find the library file

Solution

Open the corresponding php.ini file and add the corresponding extension file path, such as

#default_socket_timeout = 60
extension_dir="D:\app\phpstudys\PHPTutorial\php\php-7.4\ext"
Copy after login

For more related knowledge, please visit PHP Chinese website!

The above is the detailed content of What should I do if php cannot find the dll?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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