Solution to the ineffective modification of php.ini: 1. Find php.ini and modify extension=php_curl.dll to remove the semicolon in front; 2. Copy the relevant files to windows/system32 and restart IIS. .
The operating environment of this article: Windows7 system, PHP7.1 version, Dell G3 computer
What should I do if modifying php.ini does not work? ?
For the solution that modifying php_ini does not work
First: Find php.ini, modify extension=php_curl.dll and remove the semicolon in front
Second : Copy the three files "php_curl.dll", "libeay32.dll" and "ssleay32.dll" to windows/system32 and restart IIS.
The error no longer appears and the program runs normally. If it is an Apache service, you can also try this method.
If that doesn't work, copy "php5ts.dll" (this file should already be in the windows/system32/ directory when configuring PHP).
Recommended: "PHP Video Tutorial"
The above is the detailed content of What to do if modifying php.ini has no effect. For more information, please follow other related articles on the PHP Chinese website!