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

Login

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 127.0.0.1:8008

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';