From 6e878c65d45f10c8af1840da7d3f310997e68f87 Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Sun, 9 Sep 2018 22:48:29 -0500 Subject: [PATCH 1/2] Fixing installation typos --- assets/templates/installing-php.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/templates/installing-php.phtml b/assets/templates/installing-php.phtml index 9d39e9e..7d86fc5 100644 --- a/assets/templates/installing-php.phtml +++ b/assets/templates/installing-php.phtml @@ -10,8 +10,8 @@
  • 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.
  • Install the VC redistrubutable using the downloaded executable.
  • 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".
  • -
  • 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.
  • -
  • Now, you can open PowerShell or Command Prompt, type "php -v" and it will return the installed version of PHP on your system.
  • +
  • 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.
  • +
  • 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.
  • MacOS

    From 3f9679ff5ba13a57582416bef3d3e8ddf9f82cbf Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Sun, 9 Sep 2018 22:51:24 -0500 Subject: [PATCH 2/2] Linking to install page on home page --- assets/templates/index.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/templates/index.phtml b/assets/templates/index.phtml index cc247ff..eccd859 100644 --- a/assets/templates/index.phtml +++ b/assets/templates/index.phtml @@ -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 GitHub repository.

    - 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 install 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! 😃