简体   繁体   中英

cURL not working - show PHP the files in PHP directory - NOT Windows configuration

  • I'm running Windows 10 x64 and the latest version of PHP 7.
  • I have removed the semicolon from extension=php_openssl.dll in the php.ini file.
  • The file PHP\ext\php_curl.dll exists.
  • The files PHP\libeay32.dll and PHP\ssleay32.dll exist.
  • I know I need to restart the HTTP server for PHP to see the files after I do the last step.

I explicitly do not want to dump the files in to a Windows directory as I routinely reinstall Windows and I simply migrate everything as portable between OS installs with zero negative effects.

How do I update PHP to see the files in it's own directory ?

I downloaded a slightly newer version of PHP, that didn't work.

Then I downloaded a newer version of Apache, migrated the older settings and that worked. This is the only relevant httpd.conf settings I've changed:

LoadFile "C:/WAMP/Apache/bin/libeay32.dll"
LoadFile "C:/WAMP/Apache/bin/libssh2.dll"
LoadFile "C:/WAMP/Apache/bin/ssleay32.dll"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM