To start programming with PHP is one of the parts of web development skills and installing PHP In on your Windows 10 machine considered as the first step of learning PHP skill using a local machine. Here we discuss the various method to lớn Install PHP In Windows 10 OS.
Bạn đang xem: How to install php on windowsInstall PHP in Windows OS using the PHP development environment.Manually install PHP by PHP official file Setup.
Now you can ready with your PHP installation on Windows 10 OS using external PHP development environment XAMPP.
Manually install PHP on Windows by PHP official tệp tin Setup
Now we see quickest steps khổng lồ install PHP on Windows 10 . Noted that there are others ways available out there to install PHP Apache server.
Step 1: tải về the PHP files
Get the latest version of PHP Zip package according to your system configuration from here,https://www.php.net/downloads.php
Step 2: Extract the ZIP
Extract the PHP zip file and create a new directory named PHP & store it on you C: drive.
PHP can be installed any drive on you windows system but for future steps I suggest you to bởi vì not change the path.
Step 3: Setting up PHP configuration file php.ini
On the very first time you can not find the php.ini file. So you have khổng lồ copy C:phpphp.ini-development to C:phpphp.ini
On the same config INI tệp tin you have khổng lồ enable some important PHP extension by removing semi colon (;) from their start.
Open you the php.ini tệp tin in your text editor and search for below extension và enable them.