php_build-in_webserver
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
php_build-in_webserver [2018-01-08 14:06] – [dokuwiki.app] jroeterd | php_build-in_webserver [2019-11-04 14:46] – 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:// | 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:// | ||
- | 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 | + | Your Mac comes with PHP included. The newest OS X Catalina |
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 11: | Line 11: | ||
This will start the PHP webserver. Going to http:// | This will start the PHP webserver. Going to http:// | ||
- | ==== dokuwiki.app ==== | + | ==== DokuWiki.app ==== |
On a mac you can use Automator to create an APP file. Choose to create an application and choose to run a terminal command. Use the command mentioned above. When you safe Automator askes you where to store the .app file. You can safe it in you Applications folder. | On a mac you can use Automator to create an APP file. Choose to create an application and choose to run a terminal command. Use the command mentioned above. When you safe Automator askes you where to store the .app file. You can safe it in you Applications folder. | ||
- | 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. | + | Add ''&>/ |
+ | |||
+ | When you start it the server will be started without a terminal window. To close the webserver you need to kill the php process | ||
==== 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. | ||