How-to articles, tricks, and solutions about WINDOWS

'pip' is not recognized as an internal or external command

This error message typically occurs when the command prompt or terminal is not able to find the pip executable.

Change composer global path (Windows)

To change the global path for Composer on Windows, you will need to update the system environment variables.

Connect to SQL Server through PDO using SQL Server Driver

Here is an example of how to connect to a SQL Server database using PDO and the SQL Server driver:

error: Unable to find vcvarsall.bat

The error: Unable to find vcvarsall.bat message is usually raised when you are trying to install a Python package that requires a C compiler, and the compiler is not installed or cannot be found by Python.

Failed to load the JNI shared Library (JDK)

This error can occur when you are trying to run a Java program and the Java Virtual Machine (JVM) cannot find the required shared libraries. There are a few different causes of this error and a few different things you can try to fix it:

How can I find where Python is installed on Windows?

To find where Python is installed on Windows, you can follow these steps:

How can I open Java .class files in a human-readable way?

Java .class files are compiled Java bytecode, which is not easily readable by humans.

How do I find where JDK is installed on my windows machine?

To find where the JDK is installed on your Windows machine, you can follow these steps:<br>

How to add to the PYTHONPATH in Windows, so it finds my modules/packages?

In Windows, you can add to the PYTHONPATH environment variable to make sure that Python can find your modules and packages.

How to clear the interpreter console?

There are a few ways to clear the interpreter console in Python, depending on the specific environment you are using.

How to Count the Pages in a PDF File with PHP

PHP provides a range of extensions and functions for getting the number of pages in a PDF document. Let’s check out the most efficient ones, here.

How to open/run .jar file (double-click not working)?

To open a .jar file on a Windows system, you can do one of the following:

javac not working in windows command prompt

If javac is not working in the Windows command prompt, there could be several reasons for this.

PHP 7: Missing VCRUNTIME140.dll

It looks like you are encountering an error related to a missing VCRUNTIME140.dll file when using PHP 7.

php exec() is not executing the command

There could be a few reasons why the exec() function in PHP is not executing the command as expected.

pip install fails with "connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:598)"

This error message occurs when pip is unable to verify the certificate of the website it is trying to connect to.

Upgrading PHP in XAMPP for Windows?

To upgrade PHP in XAMPP for Windows, you will need to follow these steps.