No. That is what we call cross posting. Don't post your problem to multiple support channels.
Your posting here is nearly without any value for the other community members without your full information.
What if the stackoverflow informations are not accessible forever from that url?
So: Choose the correct support channel relating to your issue and don't post it to multiple of them!
I have installed a xampp portable package on my drive D, added the php folder path inside it on the system environment so I would be able to run php basically anywhere from the command line. but when i try to check if its working by executing the "php -v" command, it runs but i get this following error/warning messages.
"Warning: PHP Startup: Unable to load dynamic library 'xampp-portable\php\ext[:any].dll - The specified module could not be found."
*the [:any] there just means some dll filename.
and i get a lot of that warnings with just varying dll filenames,
anyway, here's the catch. when i do change my current path in the command line to somewhere in drive D, and then run the same command "php -v" it runs smoothly.
so what configuration should i do to fix this problem?
by the way, i do the same with mysql, putting its bin directory path on the system enviroment, run it in both inside drive C and drive D. and it runs smoothly. so i guess this problem is only on php.
XAMPP is very proud that it don't have to set any environment variables or registry values.
What you want to do is not possible with XAMPP portable without mapping to a specific Drive letter.
All configurations in xampp portable have relative paths, so if you want to use cli from a different drive letter, php can be executed, but all extensions of them throw errors.
I would install the full version of XAMPP, map it to the current drive letter with help of the setup_xampp.bat file and use the XAMPP control panel Shell instead of default command line (advantage: The XAMPP control panel shell sets local include paths to the needed XAMPP folders).
Works for me (i can even use pear, git, composer, and other cli scripts with the Xampp Shell if correct integrated).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~free software according to purpose of usageXAMPP 1.8
for local development/testing onlyZend Server 6 (free)
for production environments
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~It's like porn for programmers