Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation could not be located in the dynamic link library php-8.3.4\ext\php_curl.dll

While I am starting apache server from laragon on windows I am getting this error:

The procedure entry point nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation could not be located in the dynamic link library F:\laragon\bin\php\php-8.3.4-Win32-vs16-x64\ext\php_curl.dll

As it is saying it can't locate the the dynamic link lybrary in F:\laragon\bin\php\php-8.3.4-Win32-vs16-x64\ext\php_curl.dll. But the file is there.

I tried to set the exact location in the php.ini file but did not work.

; The ldap extension must be before curl if OpenSSL 1.0.2 and OpenLDAP is used
; otherwise it results in segfault when unloading after using SASL.
; See https://github.com/php/php-src/issues/8620 for more info.
;extension=ldap

extension=F:\laragon\bin\php\php-8.3.4-Win32-vs16-x64\ext\php_curl.dll
;extension=ffi
;extension=ftp
like image 306
sajibadhi Avatar asked Feb 02 '26 05:02

sajibadhi


2 Answers

I had the same problem, I am using Laragon I can choose my Apache, PHP, MySQL versions respectively. I am trying to develop a project using latest Laravel version (Laravel 11), I have updated my PHP version to 8.3.7, and using MySQL 5.7.44, and facing this issue. All I did was just go to Apache downloads and updated my Apache version. It is all good now. Go ahead and try this to see if it works for you.

Sincerely, Irfandev.

like image 103
IrfanDev Avatar answered Feb 03 '26 20:02

IrfanDev


I had the same problem and after a lot of research it's the version of apache that needs to be changed! This youtuber explains it well, even if I don't speak this language:https://youtu.be/fXkmqoZeaGU?si=B0_jZd69DpS-w78e

like image 23
Digy Avatar answered Feb 03 '26 18:02

Digy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!