1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-07-10 01:56:20 +02:00

Fixing installation typos

This commit is contained in:
Andrew Davis
2018-09-09 22:48:29 -05:00
parent 101c8b880d
commit 6e878c65d4

View File

@ -10,8 +10,8 @@
<li>Download the corresponding Visual C++ Redistributable from the same site. For PHP 7.1, it is VC14 and for PHP 7.2, it is VC15.</li>
<li>Install the VC redistrubutable using the downloaded executable.</li>
<li>The PHP download comes in a zip folder. Extract the zip folder into your user directory in a folder named "php". The path should look like "C:\Users\username\php".</li>
<li>Next, we need to add PHP to your environment variables path. Open System under Control Panel. Go to the "Advanced tab" and select "Environment Variables". In the "User variables" section. Select "Path" and click the "Edit" button. You will see a list of different folder paths. Add the PHP path to the list using the "Add" button. The PHP path is the same folder where you extracted PHP.</li>
<li>Now, you can open PowerShell or Command Prompt, type "php -v" and it will return the installed version of PHP on your system.</li>
<li>Next, we need to add PHP to your environment variables path. Open "System" under "Control Panel". Go to the "Advanced" tab and select "Environment Variables". In the "User variables" section, select "Path" and click the "Edit" button. You will see a list of different folder paths. Add the PHP path to the list using the "Add" button. The PHP path is the same folder where you extracted PHP.</li>
<li>Now, you can open PowerShell or Command Prompt and type "php -v" to verify PHP was installed correctly. It will return the installed version of PHP on your system.</li>
</ol>
<h2>MacOS</h2>