Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP curl ext startup error note since 8.4rc4 #16794

Closed
ophian opened this issue Nov 14, 2024 · 4 comments
Closed

PHP curl ext startup error note since 8.4rc4 #16794

ophian opened this issue Nov 14, 2024 · 4 comments

Comments

@ophian
Copy link

ophian commented Nov 14, 2024

Description

Since PHP 8.4rc4 I get a startup notification

Der Prozedureinsprungpunkt "libssh2_session_set_read_timeout" was not found in DLL "C:\xampp\php8.4\ext\php_curl.dll".

(partly translated) with VS17 x64 Thread Safe (2024-Nov-05 15:34:00) on Win.
The previous RC3 and all others before did not do have this.

Has this been noted before? Has anything changed for curl regarding the mentioned "hook"? Shall I wait or disable curl for long?
Thanks.

PHP Version

PHP 8.4.0RC4

Operating System

Win

@cmb69
Copy link
Member

cmb69 commented Nov 14, 2024

I've just checked, and found no issues. I assume that it is related to the update to libssh2 1.11.1 what we only did a few weeks ago. I also assume that you use Apache, in which case likely an older libsssh2.dll is grabbed up. Replace the old libssh2.dll with the new libssh2.dll (from the PHP download), and check whether everything works as expected (also make a backup of the old libssh2.dll, just in case).

@cmb69
Copy link
Member

cmb69 commented Nov 14, 2024

Note that you can also check the file properties (Eigenschaften) details, where the version of libssh2.dll is reported (the new one is 1.11.1; you likely have 1.10.0 or maybe older).

@ophian
Copy link
Author

ophian commented Nov 14, 2024

Hi, Christoph, yes the one in my php8.4 directory is the new one 1.11.1.0. I copied it over to the origin php directory, which libssh2.dll file did nor even announce a version, restartet, but no change. I run secured sites locally, so maybe that is the culprit..?

Ah..., just found out that apache/bin has its own dll file, which was v.1.10.0 like you mentioned.
Now the popup message is gone. Thank you!

@cmb69
Copy link
Member

cmb69 commented Nov 14, 2024

Ah..., just found out that apache/bin has its own dll file, which was v.1.10.0 like you mentioned.

Welcome to DLL hell. ;) I guess you either using XAMPP or had copied the file previously. :)

See also #16718 for a possible solution by PHP.

@cmb69 cmb69 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants