As I needed two PHP versions (7.2 and 5.6) I followed the rules that I found on some places on the internet:
- I installed the newest Xampp for PHP 7.2
- I copied the PHp directory from my old Xampp installation with PHP 5.6 and renamed it to PHP5
- I adapted a separate version of httpd-xampp.conf that I use when I want to use PHP 5.6.
It mostly works. However, I get two error messages (popups when php starts) when I try to run the 5.6 version:
Can't find ordinal 407 in DLL-file C:\xampp\ext\php_curl.dll
Can't find ordinal 314 in DLL-file C:\xampp\ext\php_openssl.dll
Other modules are loaded successfully. Just these two give problems. If you look at the urls in the error messages it is clear what goes wrong: it uses the ext path directly below the Xampp directory instead of the path that I defined in php.ini (extension_dir="C:\xampp\php5\ext").
Does anyone have an idea what is going wrong here? And how I can fix it?