Home  >  Article  >  Backend Development  >  What should I do if php cannot find the dll?

What should I do if php cannot find the dll?

藏色散人
藏色散人Original
2020-07-08 11:14:282745browse

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"

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!

Statement:
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