How-to articles, tricks, and solutions about MACOS

How do I install pip on macOS or OS X?

To install pip on macOS or OS X, you need to use the Terminal.

How do you get php working on Mac OS X?

To get PHP working on Mac OS X, you can follow these steps:

How to install Java 8 on Mac

To install Java 8 on macOS, follow these steps:

How to install MySQLi on MacOS

To install MySQLi on a Mac, you will first need to install the MySQL database server on your machine.

How to install PIL with pip on Mac OS?

To install PIL (Python Imaging Library) using pip on Mac OS, you can use the following command in your terminal:

How to set JAVA_HOME environment variable on Mac OS X 10.9?

To set the JAVA_HOME environment variable on Mac OS X 10.9, follow these steps:

How to set or change the default Java (JDK) version on macOS?

To set the default Java (JDK) version on macOS, you can use the java_home command line tool. Here's how:

How to uninstall Python 2.7 on a Mac OS X 10.6.4?

To uninstall Python 2.7 on a Mac OS X 10.6.4, you can use the following commands in the terminal:

How to use the php that brew installed?

To use the PHP that Homebrew installed, you will first need to make sure that it is in your system's PATH.

ImportError: No module named pip

Here is a code snippet that demonstrates how to handle the "No module named pip" error:

MySQL Database won't start in XAMPP Manager-osx

There could be a number of reasons why your MySQL database isn't starting in XAMPP on macOS.

Mysql password expired. Can't connect

If your MySQL password has expired and you can't connect, you will need to reset the password.

Update PHP to 7.4 macOS Catalina with brew

To update PHP to version 7.4 on macOS Catalina using Homebrew, you can use the following steps:

What is path of JDK on Mac ?

On macOS, the path of the JDK (Java Development Kit) is typically /Library/Java/JavaVirtualMachines/jdk<version>.jdk/Contents/Home, where <version> is the version of the JDK.

Where is Java Installed on Mac OS X?

On Mac OS X, the default location for the JDK (Java Development Kit) is /Library/Java/JavaVirtualMachines/jdk&amp;lt;version&amp;gt;.jdk/Contents/Home/, where &amp;lt;version&amp;gt; is the version number of the JDK you have installed.

Where is JAVA_HOME on macOS Mojave (10.14) to Lion (10.7)?

On macOS, the JAVA_HOME environment variable is typically set in the /etc/launchd.conf file.

Where is localhost folder located in Mac or Mac OS X?

On Mac and Mac OS X, the localhost folder is located at: