How to build php for linux virtual machine

10-30-2023

The methods of building php by linux virtual machine are as follows: 1. Install GD library and related programs; 2. Decompress the compressed package of GD library; 3. Specify the installation path of GD library and install it; 4. Convert the installation execution file into a binary file and install it; 5. Decompress the php compressed package; 6. Configure the php installation module and install it; 7. Edit Apache configuration file to support php;; 8. Change the home page type; 9. Edit the contents of the home page file, write it into the php test page, and start the service.

Building PHP service in Linux virtual machine

1. Install GD library and related programs;

2, unzip the GD library compressed package;

3. Specify the installation path of GD library and install it; 

4. Convert the installation execution file into a binary file and install it;

5. Decompress the php compressed package;

 

6. Configure the php installation module and install it;

7. Edit Apache configuration file to support php;;

8. Change the home page type.

9. Edit the contents of the home page file, write it into the php test page, and start the service; ;

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

 

11. Enter the ip address of the virtual machine in the browser and log in to the php test page.

Copyright Description:No reproduction without permission。

Knowledge sharing community for developers。

Let more developers benefit from it。

Help developers share knowledge through the Internet。

Follow us