There are several lines you may need to change in a text editor use search to find the current value. First, enable any required extensions. This will depend on the libraries you want to use, but the following extensions should be suitable for most applications:.
Select the Advanced tab, and click the Environment Variables button. Scroll down the System variables list and click Path followed by the Edit button. Note that older editions of Windows have a single text box where each path is separated by a semi-colon ;. Add the following lines to the bottom of the file to set PHP as an Apache module change the file locations if necessary :.
Optionally, change the DirectoryIndex setting to load index. The initial setting is:. Create a new file named index. Step 9: Now after pasting the folder then copy the address of the folder in program files.
Step After New Paste the address we copy from program files to new and click on Enter button. Step Now Click on the OK button. Step Click on the OK button. Step Click on OK for saving changes. Step Now your PHP is installed on your computer. Open it. You have successfully installed PHP on your Windows 10 system. Skip to content. Change Language. Related Articles. Table of Contents.
Improve Article. Save Article. It is named test. IIS 5. Install location is on my local E: drive The Tests: Test 1: a. Verified no other copies of php. Renamed php. It is not. Ran "test. Test 2: a. Moved php. Stopped and started IIS c. Ran "test-php-ini-loaded. It is not, which surprised me.
My php. Test 3: a. Left the solo copy of my php. Stopped and started IIS d. Predictably it is not found. Ran the "test. Again, my php. Test 4: a. Predictably it is not. Again, no change. Thanks go to Peter Guy of www.
This note is not meant to take anything away from PHP. It is a fine tool. The sole purpose of the testing was to confirm that my installation of PHP was correct.
0コメント