Install PHP

To install PHP, we will suggest you to install AMP (Apache, MySQL, PHP) software stack. It is available for all operating systems. There are many AMP options available in the market that are given below:

  • WAMP for Windows
  • LAMP for Linux
  • MAMP for Mac
  • SAMP for Solaris
  • FAMP for FreeBSD
  • XAMPP (Cross, Apache, MySQL, PHP, Perl) for Cross Platform: It includes some other components too such as FileZilla, OpenSSL, Webalizer, Mercury Mail, etc.

If you are on Windows and don’t want Perl and other features of XAMPP, you should go for WAMP. In a similar way, you may use LAMP for Linux and MAMP for Macintosh.

Download and Install WAMP Server

Click me to download WAMP server

Download and Install LAMP Server

Click me to download LAMP server

Download and Install MAMP Server

Click me to download MAMP server

Download and Install XAMPP Server

Click me to download XAMPP server

How to install XAMPP server on windows

We will learn how to install the XAMPP server on windows platform step by step. Follow the below steps and install the XAMPP server on your system.

Step 1: Click on the above link provided to download the XAMPP server according to your window requirement.

Install PHP

Step 2: After downloading XAMPP, double click on the downloaded file and allow XAMPP to make changes in your system. A window will pop-up, where you have to click on the Next button.

Install PHP

Step 3: Here, select the components, which you want to install and click Next.

Install PHP

Step 4: Choose a folder where you want to install the XAMPP in your system and click Next.

Install PHP

Step 5: Click Next and move ahead.

Install PHP

Step 6: XAMPP is ready to install, so click on the Next button and install the XAMPP.

Install PHP

Step 7: A finish window will display after successful installation. Click on the Finish button.

Install PHP

Step 8: Choose your preferred language.

Install PHP

Step 9: XAMPP is ready to use. Start the Apache server and MySQL and run the php program on the localhost.

How to run PHP programs on XAMPP, see in the next tutorial.

Install PHP

Step 10: If no error is shown, then XAMPP is running successfully.

Install PHP

Installing VMware Workstation/Player on Kali Linux OS

You can install VMware workstation or player on Kali Linux, allowing you to use virtual machines inside of Kali. However if you wish to use Kali as a virtual machine, you want our Kali Linux Guest VMware page.

Before trying to install VMware, please make sure your version of Kali is up-to-date, and required, reboot the machine.kali@kali:~$ sudo apt update kali@kali:~$ sudo apt dist-upgrade -y kali@kali:~$ [ -f /var/run/reboot-required ] && sudo reboot -f

To start with, you will need to download VMware. You can do this by going to VMware’s download page. At the time of writing, the latest version is 15.5.1-15018445.

Alternatively, you can do the following command line method:kali@kali:~$ sudo apt install -y curl

kali@kali:~$ kali@kali:~$ cd Downloads/ kali@kali:~/Downloads$ curl -L https://www.vmware.com/go/getworkstation-linux > vmware.bin kali@kali:~/Downloads$

kali@kali:~/Downloads$ file vmware.bin vmware.bin: a /usr/bin/env bash script executable (binary data) kali@kali:~/Downloads$

kali@kali:~/Downloads$ ls -lah vmware.bin -rwxr-xr-x 1 kali kali 511M Feb 14 20:46 vmware.bin kali@kali:~/Downloads$

When everything is up-to-date, and ready to go, make sure the file is executable and then call it.

kali@kali:~$ cd Downloads/

kali@kali:~/Downloads$ chmod +x VMware-Workstation-Full-15.5.1-15018445.x86_64.bundle

kali@kali:~/Downloads$ sudo ./VMware-Workstation-Full-15.5.1-15018445.x86_64.bundle Extracting VMware Installer...done. Installing VMware Workstation 15.5.1 Configuring... [######################################################################] 100% Installation was successful. kali@kali:~/Downloads$

After the installer is installed, you should be able to just run vmware to continue setup.kali@kali:~/Downloads$ vmware

At this point, you should be be straight forward, often just clicking through.

The first part may be VMware Kernel Modules:

If vmware wasn’t called with superuser privileges, you may be prompted for a password:

At this point, it may not install correctly, and get the error message: Unable to install all modules. See log /tmp/vmware-kali/vmware-*.log for details. (Exit code 1). This is often due to Kali’s kernel being newer than what VMware is expecting. Looking at the log may help with troubleshooting the issue as well as the guide at the end of this post.

You will need to accept the legal agreement:

You may wish for it VMware to check for any updates:

You may wish to join “VMware Customer Experience Improvement Program”:

Enter the current username:

Enter a location for Shared VMs (this is different to each users own VMs):

Enter a port for HTTPS access

If you have a product key, you can enter it now, else it will be a trial for 30 days:

You may be once again prompt for superuser privileges if you didn’t execute the setup file with it:

The final screen should look like this: