php running error

高洛峰
Release: 2023-03-03 13:14:01
Original
1710 people have browsed it

The previous online solutions are as follows:

1. Enable curl extension in php.ini

2. Copy libeay32.dll, ssleay32.dll, php5ts.dll in the php directory to c:windowssystem32

(Also One way is to add a dynamic link library to httpd.conf, such as: LoadFile d:/php/libeay32.dll and LoadFile d:/php/ssleay32.dll, but I tried it and it didn’t work either)

3. Restart apache, OK!

I don’t know if these people have really tried it and succeeded, so they share these so-called solutions online. In the end, for us newcomers, all the solutions Baidu found were only one, and the source could not be found and the problem could not be truly solved.

I haven’t been too busy recently, so I brought this issue up again and wanted to solve it. Baidu Baidu Baidu... Okay... maybe I am too blind, and I only found the above solution. . There is no choice but to turn to Google... But under the restrictions of Skynet, it has become difficult to access Google. So I spent a lot of time looking for FQ... Preparation work...

After I went to Google, although there are also the above-mentioned solutions, fortunately, it is not the only one, I found it online. Another solution is suitable for me. I will excerpt it and record it for the convenience of future generations! !

Let’s talk about my computer configuration first!

I am running a 64-bit win10 system. Apache and PHP are manually configured by myself. I have not tried the integrated environment. I don’t know if it will work, but I think it can be used as a reference!

Let’s talk about the solution!

1. Similarly, enable the curl extension in php.ini

2. In the php directory, find the three files libeay32.dll, libssh2.dll, and ssleay32.dll, copy (or cut) and paste them into , in the bin directory of apache

3. Restart apache, OK!


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