User Tools

Site Tools


installs:wiki:setup

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
installs:wiki:setup [2024/01/29 13:43] elraphikinstalls:wiki:setup [2024/01/30 11:51] (current) – [5. Install PHP dependencies] elraphik
Line 10: Line 10:
  
  
-===== Dependencies =====+===== PHP Install=====
 To function properly, DokuWiki needs a web server that can run php, and obviously php, as we can see on their [[doku>reuirements|requirements page]]. To function properly, DokuWiki needs a web server that can run php, and obviously php, as we can see on their [[doku>reuirements|requirements page]].
  
Line 36: Line 36:
  
 <code bash> <code bash>
-wget -qO - https://packages.sury.org/php/apt.gpg | sudo apt-key add -+wget -qO - "https://packages.sury.org/php/apt.gpg| sudo apt-key add -
 </code> </code>
  
Line 57: Line 57:
 ==== 5. Install PHP dependencies ==== ==== 5. Install PHP dependencies ====
  
-<WRAP center round todo 60%> +Normally, we could've stopped there for our PHP 8 install, but DokuWiki needs a special PHP 8 package that may not be present by default after this install: ''php8.x-xml''. Also, as we'll use nginx as our web server, we have to install the package ''php8.x-fpm''
-This page is not finished yet, what remains to do is finishing php install & nginx config.+ 
 +<code bash> 
 +sudo apt install php8.3-{xml,fpm} 
 +</code> 
 + 
 +<WRAP center round important 100%> 
 +Mind replacing ''8.3'' with the version of PHP installed on your machine for better compatibility.
 </WRAP> </WRAP>
 +
 +And that's it for the PHP install, we can now install DokuWiki itself, and then we'll do the Nginx configuration as it'll be easier afterwards.
  
installs/wiki/setup.1706535817.txt.gz · Last modified: 2024/01/29 13:43 by elraphik