Repository for Team 2 in Year 2, Term 2 flash cards project
Repository for Team 2 in Year 2, Term 2 flash cards project
In order to run the programs from VS Code, you will need PHP installed on your device. See https://www.youtube.com/watch?v=2BiYxO1wszM or follow these instructions if you are on Windows:
- Go to https://www.php.net/downloads.php and download the Thread-safe Zip folder.
- Extract all the files from the downloaded ZIP file.
- Cut the folder, and paste it into Program FIles, on your C drive.
- Open the folder in File Manager. Click on the search bar of File Manager, and copy the path from it, eg. C:\Program Files\php-8.5.3
- Minimise the window, go to the main Windows search bar, and enter "environment variables".
- Click "Edit the system environment variables"
- Go to the "Advanced tab", click "Environment Variables"
- In System Variables (the lower window), double-click on the word "Path", click the "New" button, and paste in the path from the File Manager.
- OK it all, go to Start, and enter CMD.
- In the command line, type "php --version", and the response should show the version of PHP you have installed.
- If it doesn't, restart your computer, re-enter CMD, and try "php --version" again.