Setting up a proper local environment makes developing and testing Joomla much easier. This section covers the file permissions your installation needs on Linux and Windows, setting up a web server stack by hand, and getting Visual Studio Code configured for PHP and Joomla development.

  • File Permissions: Linux – The recommended directory, file, and configuration.php permissions for a Joomla installation, and how to read octal and letter-based permission notation.
  • File Permissions: Windows – How Windows ACLs compare to Unix/Linux permission modes, and what to set for Joomla's files and directories.
  • Setting up Apache, PHP and MySQL manually – Installing and configuring Apache, PHP, and MySQL by hand for local development, including testing the setup with PHP extensions like Xdebug.
  • Visual Studio Code Primer – Getting started with VS Code for Joomla extension development, including installing Xdebug and walking through fixing a sample module's bugs.
  • Visual Studio Code Extras – Useful VS Code extensions and configuration for PHP and Joomla work: debugging tools, code quality analysers, and Git integration.