I've upgraded PHP in XAMPP from 8.1.2 to the 8.2.12. But CURL doesn't works.
I have downloaded XAMPP from this link: xampp-windows-x64-8.2.12-0-VS16.zip
Then I have renamed the old /php directory to /php_8_1_2 and i have placed the new PHP 8.2.12 from the /php in the zip-file into the /xampp directory.
PHP 8.2.12 runs perfectly after a reboot of XAMPP, but CURL doesn't work.
PHP gives the error that the CURL functions are not found:
Call to undefined function curl_init()
What happens? In the php.ini in /php (the newest) CURL is not disabled with a dot-comma character.
- Code: Select all
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
; CUTTED TEXT HERE, YADDAH, BLAH, BLAH ;-)
extension=bz2
; 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=curl
;extension=ffi
;extension=ftp
extension=fileinfo
;extension=gd
extension=gettext
;extension=gmp
;extension=intl
;extension=imap
extension=mbstring
extension=exif ; Must be after mbstring as it depends on it
extension=mysqli
;extension=oci8_12c ; Use with Oracle Database 12c Instant Client
;extension=oci8_19 ; Use with Oracle Database 19 Instant Client
;extension=odbc
;extension=openssl
;extension=pdo_firebird
extension=pdo_mysql
;extension=pdo_oci
;extension=pdo_odbc
;extension=pdo_pgsql
extension=pdo_sqlite
;extension=pgsql
;extension=shmop
etc....
Why does CURL don't work?