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
Solution
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.
Answered By — IrfanDev
Answer Checked By — Candace Johnson (FixIt Volunteer)
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0
