← All learning materials
Project Setup · 20 MIN READ · DEVELOPER GUIDE

Run the project locally

Prepare a local PHP and MySQL environment and trace your first request.

Learning progress is saved in this browser when local storage is available.

Start the local environment

The working project uses XAMPP on Windows. Place the project inside htdocs, start Apache and MySQL, and open the project URL in a browser. A nested local folder needs the same path prefix on page and asset requests.

Configure data carefully

includes/db.php supplies the PDO connection used by endpoints. Obtain the correct development database configuration and approved schema or migration from the project maintainer. Never publish credentials, copy production customer data for practice, or assume a blank database matches an existing deployment.

Check one layer at a time

Start with a public page, then inspect the Network tab for CSS/JS 404s. Check the PHP error log for server errors. Use php -l on modified PHP files. For database features, verify the expected tables in the development database and use test records you can remove.

Syntax in practice

A focused learning example. Read the referenced source file for its full application context.

C:/xampp/php/php.exe -l academy.php
C:/xampp/php/php.exe -l save_site.php
PUT IT INTO PRACTICE

Try it yourself

Run a syntax check, open Academy locally, and identify one successful CSS request in DevTools.

Work on a development copy, then explain what changed and how you verified it.

Project file map

Find these paths in your local WebsHigher checkout. Source paths are references, not public downloads of application code.

  • includes/db.php
  • .htaccess
  • scripts/

Keep learning

Start here: the WebsHigher codebase →PHP syntax and reusable page components →Build responsive pages with HTML and CSS →
Get Started