+3 votes
315 views
How to install PHP 7.4 on Windows 10

in Windows 10 by (550k points)
reopened | 315 views

1 Answer

+4 votes
Best answer

How to install PHP 7.4 on Windows 10

PHP (PHP: Hypertext Preprocessor) has been developed as an open source programming language focused on web development which can be embedded in HTML. It is a language that facilitates the development process since PHP pages integrate HTML with embedded code, that is, its code is enclosed between the beginning and end tags <? Php and?> With which we can enter and exit the " PHP mode "..

 

PHP Features
Some of its most outstanding features are:

 

  • Integrate null merge operators.
  • It has the spaceship operator with which it is possible to compare two expressions.
  • Using constant arrays with define ().
  • Support for anonymous classes using new class.
  • Unicode code point escape syntax.
  • It has filters for unserialize ().

 

 

 

PHP functions
We currently have version 7.4.11 of PHP which has functions such as:

 

  • Arrow functions for single line jobs.
  • Properties written in classes.
  • Preloading functions in order to improve performance.
  • FFI for a better development of extensions in PHP.
  • New propagation operator in matrices.

 

 

Now let's see how to install PHP 7.4.11 on Windows 10.

 

To stay up to date, remember to subscribe to our YouTube channel!   SUBSCRIBE

 

How to install PHP 7.4 on Windows 10

 

Step 1

We look for PHP in a search engine:

 

image

 

 

Step 2

We select the official PHP link and then go to the downloads section (Downloads ”:

 

image

 

 

Step 3

There we click on the line "Windows downloads", all the available options for Windows will open:

 

image

 

 

Step 4

As we can see, there are 32-bit (x86) and 64-bit (x64) options, to know what architecture we have, in the Windows 10 search engine we enter “system” and in the results we select “System information”:

 

image

 

 

Step 5

In the information displayed we go to the "System type" field to know if it is 32 or 64 bits:

 

image

 

 

Step 6

With this known, we return to the PHP site and in this case download the 64-bit version of PHO 7.4.11 in ZIP format:

 

image

 

 

Step 7

Once the download has been completed, we click on the download menu and select "Show in folder":

 

 

image

 

 

Step 8

In the containing folder we right click on the ZIP and select "Extract all":

 

image

 

 

Step 9

Start the extraction process:

 

image

 

 

Step 10

We can see the content of this file:

 

image

 

 

Step 11

Now we copy the folder that has been extracted:

 

image

 

Step 12

We paste this in the path "C: \ Program Files":

 

image

 

 

Step 13

We click on "Continue" to complete the process and we will see the folder added there.

 

image

 

 

Step 14

We rename this folder to facilitate your work, we leave only up to the PHP version:

 

image

 

 

Step 15

We confirm the change and see that it has been renamed:

 

image

 

 

Step 16

Now we go to the Start menu search engine and there we enter the term "variables":

 

image

 

 

Step 17

We select "Edit the system environment variables", in the pop-up window we click on "Environment variables":

 

image

 

 

Step 18

In the next window we go to the section "System variables" and there we select "Path":

 

image

 

 

Step 19

We click on "Edit", and create a new variable with the path where PHP 7.4.11 has been copied:

 

image

 

 

Step 20

We click OK and it will be integrated into the system variable. We apply the changes.

 

 

image

 

 

Step 21

We access the command prompt as administrators:

 

image

 

 

Step 22

In the console we execute:
 php -v 
Step 23

This allows us to see the version of PHP that we have configured:

 

 

image

 

It is a simple process to install PHP 7.4 on Windows 10 and have a modern and functional language for projects..

 


by (3.5m points)

Related questions

+4 votes
1 answer
asked Oct 12, 2019 in Linux / Unix by backtothefuture (550k points) | 292 views
+4 votes
1 answer
asked Mar 27, 2020 in Windows 10 by backtothefuture (550k points) | 499 views
+5 votes
1 answer
+4 votes
1 answer
asked Oct 4, 2019 in PHP by backtothefuture (550k points) | 1.5k views
+5 votes
1 answer
Sponsored articles cost $40 per post. You can contact us via Feedback
10,627 questions
10,759 answers
510 comments
3 users