DokuWiki

It's better when it's simple

User Tools

Site Tools


php_build-in_webserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Both sides next revision
php_build-in_webserver [2018-05-01 16:45]
jroeterd [DokuWiki.app]
php_build-in_webserver [2019-11-04 14:46] (current)
jroeterd
Line 3: Line 3:
 When installing DokuWiki as a desktop wiki on a Mac (and possible also other OS) only PHP is needed. You can use the build-in PHP webserver. See [[http://php.net/manual/en/features.commandline.webserver.php|PHP build-in webserver]] for more information.  When installing DokuWiki as a desktop wiki on a Mac (and possible also other OS) only PHP is needed. You can use the build-in PHP webserver. See [[http://php.net/manual/en/features.commandline.webserver.php|PHP build-in webserver]] for more information. 
  
-Your Mac comes with PHP included. As I am on OS X El Capitan my included PHP version is 5.5.38. The newest OS X High Sierra comes with PHP 7.1+Your Mac comes with PHP included. The newest OS X Catalina comes with PHP 7.3.8
  
 Download DokuWiki and extract the files in a directory of your choosing. In this directory (containing the doku.php and index.php file) open a terminal and type in the following: Download DokuWiki and extract the files in a directory of your choosing. In this directory (containing the doku.php and index.php file) open a terminal and type in the following:
Line 16: Line 16:
 Add ''&>/dev/null &'' to the terminal command if you do not want a spinning gear icon in the iconbar at the top of your screen.  Add ''&>/dev/null &'' to the terminal command if you do not want a spinning gear icon in the iconbar at the top of your screen. 
  
-When you start it the server will be started without a terminal window. To close the webserver you need to kill it in the ActivityMonitor. +When you start it the server will be started without a terminal window. To close the webserver you need to kill the php process it in the ActivityMonitor. 
  
 ==== Experiences ==== ==== Experiences ====
 I am running a vanilla DokuWiki without any additional plugins with this install method for a couple of days now without any trouble. As mentioned on the PHP build-in webserver page this install is not usable for any production environment. But seems to me it is ok for a local desktop wiki.  I am running a vanilla DokuWiki without any additional plugins with this install method for a couple of days now without any trouble. As mentioned on the PHP build-in webserver page this install is not usable for any production environment. But seems to me it is ok for a local desktop wiki. 
  
php_build-in_webserver.1525185950.txt.gz ยท Last modified: 2018-05-01 16:45 by jroeterd