Class PHP 103
Create a PHP workspace:
Scroll down to learn how this is done.
Start by going to localwp.com
![](https://adventures4learning.com/wp-content/uploads/2023/09/php-102-a-1024x446.png)
Click the "Download" button
![](https://adventures4learning.com/wp-content/uploads/2023/09/php-102-a-1-1024x579.png)
Select your operating system
![](https://adventures4learning.com/wp-content/uploads/2023/09/php-102-a-2.png)
The download should begin
Once completed run the download file to install it on your system
Run Local
Running local should present the following
![](https://adventures4learning.com/wp-content/uploads/2023/10/php-102-b-1024x576.png)
Click the Plus symbol in the bottom left hand corner of the screen
Click the continue button
![](https://adventures4learning.com/wp-content/uploads/2023/10/php-local-4-1024x576.png)
Type in a name for your workspace (eg: php-workspace)
Click Continue
![](https://adventures4learning.com/wp-content/uploads/2023/10/php-102-d-1024x576.png)
Choose your environment - select Custom
![](https://adventures4learning.com/wp-content/uploads/2023/10/php-102-02-1024x576.png)
Set up the wordpress site
Enter a username, password and email address
And click Add Site
![](https://adventures4learning.com/wp-content/uploads/2023/10/php-102-03-1024x576.png)
Remove the WordPress files
Click the Go to site folder link just under the php-workspace title
![](https://adventures4learning.com/wp-content/uploads/2023/10/php-102-h-1024x576.png)
The link currently opens minimized
So you have to open it from the task bar after clicking the link
![](https://adventures4learning.com/wp-content/uploads/2023/10/php-local-10-1024x551.png)
Double click the app folder
![](https://adventures4learning.com/wp-content/uploads/2023/10/php-local-11-1024x553.png)
Double click the public folder
![](https://adventures4learning.com/wp-content/uploads/2023/10/php-local-13-1024x553.png)
Select all the files and delete them
![](https://adventures4learning.com/wp-content/uploads/2023/10/php-local-15-1024x157.png)
With your favorite editor create an index.php file and save it in this location.
<?php
echo "<center><h2>Welcome to my PHP Workspace</h2></center>";
phpinfo();
?>
![](https://adventures4learning.com/wp-content/uploads/2023/10/php-102-h-1024x576.png)
Navigate back to localwp
Click the Open Site button
And you should see the following
![](https://adventures4learning.com/wp-content/uploads/2023/10/php-local-16-1024x477.png)