How To Install Php Windows 7
How to install PHP on windows?
Published on November 08,2019 25.4K Views
Understanding PHP is a part of the web development journey and installing PHP on your machine can be considered equally the first step in this journey. In this article, nosotros will take a look at various methods available to install PHP on your car running Windows.
- Install PHP using packages
- Manually installing PHP on Windows
Permit's begin.
Install PHP using packages
Before getting started with any of these steps first note down the operating system version and your CPU compages. This tin can be washed by simply correct-clicking the 'ThisPC' icon and selecting 'Backdrop'. Here you can check the version of the operating system (eg. Windows seven, Windows 10). Here, we tin can also notice the type of CPU architecture (eg. x32, x64).
In my example, I accept a 64-bit operating organisation and Windows x.
In one case we know the arrangement specifications we tin start with the installation process. There are several packages that are available to download and can help in installing Apache spark, MySQL, and PHP without breaking a sweat. WampServer and XAMPP are the packages available to download.
Manually installing PHP on Windows
Installing PHP on a Windows x car is no at all difficult. Fist of all allow's sympathise the steps involved and after that, we will become through each step in detail.
-
First, we will do the latest PHP package from the PHP website .
-
Once we have the zip file we will create a PHP7 folder in the C drive and excerpt the contents of the nix file in this folder.
-
Make some changes in the PHP.ini file.
-
Change the path environment variable.
At present, permit's go through each step in detail. The first 2 steps are pretty straightforward hence we will commencement with step 3.
In one case we create the binder 'PHP7' in the C drive, nosotros need to extract the zip file that we had downloaded from the PHP website and place all its components in the 'PHP7' folder. After that, nosotros need to notice a file named 'php.ini-development' and make a re-create of this file and rename it as 'php.ini'.
Once nosotros have made a re-create we demand to open 'php.ini' with the assist of notepad or notepad++ to make some changes. Start, we need to find 'extension_dir' and remove the semicolon likewise 'extension_dir = "ext"'.
After that, nosotros need to enable some of import extensions, this can be done by simply scrolling down a bit and you'll fund the list of all the extensions available. Here, you lot tin can enable the extensions based on your needs.
Note – the guild of my listing may differ from yours.
I've enabled all the essential extensions which are used while performing the majority of the functions. Once the extensions are enabled, salvage the 'php.ini' file and now we will movement towards the step iv.
Open up control panel and search for 'variable'. After that click on 'Edit the system environs variables'. Subsequently that click on 'Environment Variables…' afterward that select 'Path' from organization variables, after selecting 'Path' click on 'Edit…', Now we need to add together a path hence we click on 'New' and then add 'C:PHP7'.
Once y'all've added the path yous are done with the installation procedure. You might need to restart for all the changes to have place. At present open the command prompt and type ' php -5 ' you will encounter the version and other details related to the PHP version which you lot've installed on your organisation.
Now with this, we have come to the end of the "how to install PHP" weblog. I hope you guys enjoyed this article and gear up to headstart with PHP. Y'all tin refer to this PHP Tutorial, to no longer stay a newbie to the scripting language.
If y'all found this PHP Tutorial weblog relevant, check out the PHP Certification Grooming by Edureka, a trusted online learning visitor with a network of more than than 250,000 satisfied learners spread across the globe.
Got a question for u.s.a.? Delight mention it in the comments department of "How to install PHP" and I volition get back to you.
Source: https://www.edureka.co/blog/how-to-install-php-on-windows/
Posted by: williamsmannion.blogspot.com
0 Response to "How To Install Php Windows 7"
Post a Comment