How to build php on linux virtual machine

1. Install the GD library and related programs;

How to build php on linux virtual machine2. Unzip the GD library compressed package;

How to build php on linux virtual machine

3. Specify the installation path of the GD library and install it;
How to build php on linux virtual machine

4. Convert the installation execution file into a binary file and install it;
How to build php on linux virtual machine

5. Unzip the php compressed package;
How to build php on linux virtual machine

How to build php on linux virtual machine

How to build php on linux virtual machine

##6. Configure the php installation module and install it;

How to build php on linux virtual machine

7. Edit the Apache configuration file to support php;

How to build php on linux virtual machine

8. Change the homepage type,


How to build php on linux virtual machine

How to build php on linux virtual machine

9. Edit the content of the homepage file, write the php test page, and start the service;;;

How to build php on linux virtual machine

10. Turn off the security function and turn off the firewall;


11. Enter the virtual machine IP address in the browser and log in to the PHP test page;How to build php on linux virtual machine

Recommended learning: "

PHP Video Tutorial