note 130057 added to curl.installation
| From: | khoppenworth@gmail.com | Date: | Tue, 25 Feb 2025 23:28:13 +0000 |
| Subject: | note 130057 added to curl.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221883@lists.php.net to get a copy of this message | ||
This also works on Windows server 2012 R2, php 8.1.
I had problems with curl and openssl for Moodle 4.1.2.
Finally, I found this thread to use LoadFile in Apache as described by Anonymous:
1. C:/(path to php folder)/php.ini
Remove semicolon to enable curl "extension=php_curl.dll"
2. Ensure to include C:\(path to php folder) in PATH.
3. Copy libeay32.dll, ssleay32.dll, libssh2.dll to the php8 folder.
4. Adding the following to Apache/conf/httpd.conf file before the DSO section:
# load curl and open ssl libraries
LoadFile "C:/(path to php folder)/libeay32.dll"
LoadFile "C:/(path to php folder)/ssleay32.dll"
LoadFile "C:/(path to php folder)/libssh2.dll"
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.84.18 (proxied: 96.241.228.181)
----
Manual Page -- https://php.net/manual/en/curl.installation.php
Edit -- https://main.php.net/note/edit/130057
Del: integrated -- https://main.php.net/note/delete/130057/integrated
Del: useless -- https://main.php.net/note/delete/130057/useless
Del: bad code -- https://main.php.net/note/delete/130057/bad+code
Del: spam -- https://main.php.net/note/delete/130057/spam
Del: non-english -- https://main.php.net/note/delete/130057/non-english
Del: in docs -- https://main.php.net/note/delete/130057/in+docs
Del: other reasons-- https://main.php.net/note/delete/130057
Reject -- https://main.php.net/note/reject/130057
Search -- https://main.php.net/manage/user-notes.php