php_build-in_webserver
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
php_build-in_webserver [2022-04-05 05:10] – [Experiences] add link to original user in his personal commend schplurtz | php_build-in_webserver [2022-12-14 17:22] – 2a10:3781:2b13:1:e105:4e0b:539b:45a4 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== PHP build-in webserver ====== | + | ====== PHP built-in webserver ====== |
- | When installing DokuWiki as a desktop wiki on a personal computer, only PHP is needed. You can use the build-in PHP webserver. It avoids the hassle of installing and configuring a web server. See [[http:// | + | When installing DokuWiki as a desktop wiki on a personal computer, only PHP is needed. You can use the built-in PHP webserver. It avoids the hassle of installing and configuring a web server. See [[http:// |
Installing PHP on windows is really easy thanks to [[https:// | Installing PHP on windows is really easy thanks to [[https:// | ||
Line 20: | Line 20: | ||
On macos and Linux, you can close the terminal if you use this command : | On macos and Linux, you can close the terminal if you use this command : | ||
- | nohup php -S localhost:8502 index.php &> /dev/null & | + | nohup php -S localhost:8000 index.php &> /dev/null & |
If you want to stop the PHP webserver, open a terminal and run | If you want to stop the PHP webserver, open a terminal and run | ||
Line 37: | Line 37: | ||
===== 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. -- [[user> | + | 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 built-in webserver page this install is not usable for any production environment. But seems to me it is ok for a local desktop wiki. -- [[user> |