Answer the question
In order to leave comments, you need to log in
How to connect PHP extension (dll) on xampp?
I need to install on a local XAMPP server (php version 7.2.7) the php mailparse extension.
Downloaded it from here pecl.php.net/package/mailparse/3.0.4/windows , 7.2 Thread Safe (TS) x64 . Unpacked the archive. It contains the following files:
extentions=php_mailparse.dll
extension=mailparse
var_dump(extension_loaded('mailparse'));
var_dump(extension_loaded('php_mailparse'));
var_dump(extension_loaded('php_mailparse.dll'));
Answer the question
In order to leave comments, you need to log in
Thanks Para bellum c cyberforum.ru
I didn't correctly identify the version. It turns out that the bitness of the system (windows in this case) does not have to match the bitness of php. You need to pay attention to the following lines in phpinfo:
php.ini is usually 2 pieces, one "for the web", the other for the cli.
First, look at phpinfo(), make sure that you have changed the correct php.ini,
secondly, check the folder for connecting extensions, whether you uploaded the file there,
thirdly, look at the launch log, maybe you have the wrong version of the dll.
Then we can talk about something...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question