Contents
Manual Installation
- Step 1: Download the files. Download the latest PHP 5 ZIP package from
- Step 2: Extract the files.
- Step 3: Configure php.ini.
- Step 4: Add C:\php to the path environment variable.
- Step 5: Configure PHP as an Apache module.
- Step 6: Test a PHP file.
Microsoft IIS 7.0 and later
- In the Windows Start Menu choose “Run:”, type “optionalfeatures.exe” and click “Ok”;
- In the “Windows Features” dialog expand “Internet Information Services”, “World Wide Web Services”, “Application Development Features” and then enable the “CGI” checkbox;
- Click OK and wait until the installation is complete.
Manual Installation
- Step 1: download the files. Download the latest PHP 5 ZIP package from
- Step 2: extract the files.
- Step 3: configure php.ini.
- Step 4: add C:php to the path environment variable.
- Step 5: configure PHP as an Apache module.
- Step 6: test a PHP file.
Steps
- Install NGINX for Win32 <install_win32_binaries_>_ .
- Install the Windows binaries of PHP, making sure that php-cgi.exe is installed in the same directory as php.exe .
- Create somewhere (e.g. in c:\nginx\ ) a batch file start-php-fcgi.bat similar to this one:
How do I install PHP on Windows 10?
Install PHP 7 on Windows 10
- Install the Visual C++ Redistributable for Visual Studio 2015—this is linked in the sidebar of the PHP for Windows Download page, but it’s kind of hidden.
- Download PHP for Windows.
- Expand the zip file into the path C:\PHP7 .
- Configure PHP to run correctly on your system:
How can I install PHP in my computer?
- Step 1: Install MySQL. Install the MySQL database server on your PC.
- Step 2: Install Apache. Install the Apache web server on your PC.
- Step 3: Install PHP. Now install the PHP scripting language on your PC.
- Step 4: Configure Apache and PHP.
- Step 5: Test your install.
- Step 6: Install Git.
- Step 7: Install Moodle.