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:
Step 2
We select the official PHP link and then go to the downloads section (Downloads ”:
Step 3
There we click on the line "Windows downloads", all the available options for Windows will open:
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”:
Step 5
In the information displayed we go to the "System type" field to know if it is 32 or 64 bits:
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:
Step 7
Once the download has been completed, we click on the download menu and select "Show in folder":
Step 8
In the containing folder we right click on the ZIP and select "Extract all":
Step 9
Start the extraction process:
Step 10
We can see the content of this file:
Step 11
Now we copy the folder that has been extracted:
Step 12
We paste this in the path "C: \ Program Files":
Step 13
We click on "Continue" to complete the process and we will see the folder added there.
Step 14
We rename this folder to facilitate your work, we leave only up to the PHP version:
Step 15
We confirm the change and see that it has been renamed:
Step 16
Now we go to the Start menu search engine and there we enter the term "variables":
Step 17
We select "Edit the system environment variables", in the pop-up window we click on "Environment variables":
Step 18
In the next window we go to the section "System variables" and there we select "Path":
Step 19
We click on "Edit", and create a new variable with the path where PHP 7.4.11 has been copied:
Step 20
We click OK and it will be integrated into the system variable. We apply the changes.
Step 21
We access the command prompt as administrators:
Step 22
In the console we execute:
php -v
Step 23
This allows us to see the version of PHP that we have configured:
It is a simple process to install PHP 7.4 on Windows 10 and have a modern and functional language for projects..