Trongate Docs
switch to dark modeswitch to dark mode
Installing PHP and MySQL

Installing PHP & MySQL

Trongate is a PHP framework.  To write PHP code on your computer, you'll need a PHP engine and also a database such as MariaDB or MySQL.  One of the easiest ways to get building with PHP is to use a local web development environment, like XAMPP. 

XAMPP is a downloadable web development environment.  In other words, it's an assortment of software that has been bundled together into a package that you can download and install on your computer.  XAMPP includes (but is not limited to) a PHP engine by the name of Apache and a database by the name of MariaDB.  There are a variety of XAMPP alternatives and also an assortment of other, more exotic ways to get PHP working on your computer.  However, if you're just starting out or if you are eager to get up and running quickly and without fuss then XAMPP is hereby recommended.  XAMPP is recommended because:​

  • It gives you the latest (major) version of PHP and MariaDB
  • It's available for Mac, Windows and Linux
  • It comes with an easy installation wizard
  • It also comes with a handy database management application called 'PHPMyAdmin'
  • It's 100% free

You can download a copy of XAMPP from here.

Mac Users: The makers of XAMPP have produced a "VM machine" and it has caused a little confusion for Mac developers.  So, if you're a Mac user then there's a video for you that walks you through the whole XAMPP setup.  The URL is:

Please go ahead and get XAMPP (or something similar) now!


If you have a question or a comment relating to anything you've see here, please goto the Help Bar.