Changing the version using "nvm use <version>" does not work - nvm

I had to run as administrator but it doesn't...
Why is there no change?

Related

Rolling back action "MariaDB 10.6 (x64) Setup Wizard ended prematurely" when installing MariaDB

I just tried to install MariaDB 10.6.5 (x64) on Windows 11
But it keeps showing as below
Error Installation Image
I've tried some possible solutions like doing the command msiexec /... in cmd
I also want to try this possible solution
"You need to used regedit.exe to remove the hidden files manually then you will be able to reinstall it again" but I don't understand how.
Can someone give any possible solution or guide me to used regedit.exe to remove the hidden files?

PHPUnit: local VS global install

Installing PHPUnit with composer globally seems more convenient to me for those two reasons:
1. Using it everywhere without needing an extra install.
2. Just running phpunitinstead of vendor/bin/phpunit (using an alias might solve this)
Are there any reasons why a local install might be the better choice? For example: using the exact same versions every time. (don't have a lot of experience with PHPUnit, so not sure if this really is an issue or not)
The big disadvantage of installing packages globally is that you might end up with different versions of PHPUnit between developers in your team (unless you are the only developer). This might cause some side effects.
If you install it locally using composer.json, then every developer in your team will have exactly the same version as you do for that specific application. Also, everybody will see when you change the version in composer.json.
If you don't like typing vendor/bin/phpunit, you can use Makefile (which is also in your project):
test:
vendor/bin/phpunit --configuration=test/Unit/phpunit.xml
then run it ...
make test
I like to install it via composer and the require-dev block, but another way that does come highly recommended is to download the phpunit.phar into the project, to use that.
Either way, you control exactly which version is being used (and when it's updated) - which is the most important part, as you can't so easily control what people have installed globally.

unable to install foundation using cli

i am trying to install foundation 6 cli.
this is the error i get.
Please tell me what is wrong here.
thanks.
Assuming that you've never installed a previous version of the Foundation CLI and are using Windows as your primary OS, errors like these are usually due to improper user permissions and/or level of access.
I'd recommend attempting the install with elevated access (i.e. opening your cmd prompt as the Administrator via right-clicking on the app and selecting the Administrator option).
If all else fails, the runas command will be your best bet. The answer here breaks it down even further.

How to install firebird server using a wix installer

I am required to install firebird super server on windows as a service, as a part of my application installation through wix for windows machines.
The machines might have a another firebird instance, usually default instance running, thus must be installed on a different port. User should not see any dialogues and installation should happen in the background.
I am able to do the installation through instsvc, installing firebird on a different port with a new instance name. However on windows you get the file execution security warning for instsvc execution. Thus I was looking in to http://www.mwasoftware.co.uk/firebird-msm merge modules but, it does not provide me with information on how to install on a different port/service name(if required).
Could you please provide me info on how to install firebird using wix, so that it would install firebird as apart of my wix installation, on a specified port, without obstructing existing installations, and no interaction from the user.
The Firebird installer only installs the service as the default instance with the default port. If you want to run on a different port and use a different servicename, then you need to change the port in firebird.conf yourself, and execute instsvc with an alternative servicename.
What I got from the merge module dev. While I havent tried the solution yet, seems to be straight forward.
The build scripts including WIX scripts are all available for
download. The direct link is:
http://www.mwasoftware.co.uk/download-msm/download/8-current-version/130-msm-build
To install a (possible) second server, you should do two things:
Build use a modified firebird.conf
Change all the UUIDs so that the package is unique.
You will also need to copy the build251.bat script and update the
environment variables to the Firebird version you are using. See also
readme.htm.

Run phantomjs using php without installing it

Is this possible to run the phantomjs without installing using php.
I don't want to install it in server.I just want to use it whenever i need using the source files.
Please help.
Obviously no, since PhantomJS is not part of PHP and it needs to be invoked as an external program.