https://github.com/php/web-wiki
The PHP Wiki Systems
https://github.com/php/web-wiki
Last synced: about 1 year ago
JSON representation
The PHP Wiki Systems
- Host: GitHub
- URL: https://github.com/php/web-wiki
- Owner: php
- Created: 2012-01-21T05:26:20.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2025-04-03T14:52:05.000Z (about 1 year ago)
- Last Synced: 2025-04-05T09:01:33.423Z (about 1 year ago)
- Language: PHP
- Homepage: http://wiki.php.net
- Size: 12.5 MB
- Stars: 38
- Watchers: 17
- Forks: 31
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
wiki.php.net
============
Docker
------
Building::
docker build -t php-wiki .
Running::
docker run -ti --rm -e dokuwikitoken="$DOKUWIKITOKEN" -v "$PWD/dokuwiki":/var/www/html/ -v "$PWD/httpd.conf":/etc/apache2/sites-available/000-default.conf --name php-wiki -p 8080:80 --user 1000 --sysctl net.ipv4.ip_unprivileged_port_start=0 php-wiki
Upgrades
--------
- Make a backup: ``cd /srv && tar cvzf wiki-`date +"%Y-%m-%d"`.tar.gz web-wiki``
- Follow https://www.dokuwiki.org/install:upgrade
- Instead of unpacking on the server, unpack in your local Git directory
- Restore ``register.txt`` via ``git restore -- dokuwiki/inc/lang/en/register.txt``
- Restore ``resetpwd.txt`` via ``git restore -- dokuwiki/inc/lang/en/resetpwd.txt``
- Restore ``entities.conf`` via ``git restore -- dokuwiki/conf/entities.conf``
- Review the changes (not every detail in larger upgrades of course)
- Commit and push
- Pull on the server (``cd /srv/web-wiki && sudo -u www-data git pull``)