1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-08-03 21:37:52 +02:00

Merge pull request #11 from restoreddev/develop

Working on install page
This commit is contained in:
Andrew
2018-09-09 22:54:00 -05:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@
PHP Apprentice is currently a work in progress (hence "beta" is included in the title). If you would like to contribute or request a certain discussion topic, checkout the <a href="https://github.com/restoreddev/phpapprentice" target="_blank">GitHub repository</a>.
</p>
<p>
To get started, you will need to install PHP 7.1, have a text editor and open your terminal.
To get started, you will need to <a href="<?php echo page_path('installing-php') ?>">install</a> PHP 7.1, have a text editor and open your terminal.
Each example in PHP Apprentice can by typed into a PHP file and executed in the terminal.
Let's get started! 😃
</p>

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>