Home Features Demos Download Installation User Manual Developer Manual Relation function Credits


Run a PHP server on a local Mac

To develop locally, you can just start a PHP server from the Terminal.

cd [sofawiki folder]
php -S

You can now open the browser and find the server on the url localhost:8080/index.php

In the configuration.php file use

$swBaseHrefFolder = "http://localhost:8080/";
$swBaseHref = $swBaseHrefFolder.'index.php';