Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
computing:selfhostedwp [2023/06/22 23:09] – oemb1905 | computing:selfhostedwp [2023/06/29 04:16] – oemb1905 |
---|
This tutorial is for setting up a self-hosted WordPress instance on Debian GNU/Linux. This tutorial assumes you already have a LAMP stack with active TLS. If not, you should read the [[https://wiki.haacksnetworking.com/doku.php?id=computing:apachesurvival|Apache Survival]] tutorial first. Once you do that, begin with some common php extensions needed for Word Press to function well: | This tutorial is for setting up a self-hosted WordPress instance on Debian GNU/Linux. This tutorial assumes you already have a LAMP stack with active TLS. If not, you should read the [[https://wiki.haacksnetworking.com/doku.php?id=computing:apachesurvival|Apache Survival]] tutorial first. Once you do that, begin with some common php extensions needed for Word Press to function well: |
| |
sudo apt install php-cgi php-cli php-zip php-mysql php-mbstring php-intl php-fpm php-curl php-gd php-mbstring php-imagick php-xml php-xmlrpc wget unzip php-gd php-zip libapache2-mod-php | sudo apt install php-common php-cgi php-cli php-zip php-mysql php-mbstring php-intl php-fpm php-curl php-gd php-imagick php-xml php-xmlrpc php-soap php-opcache php-apcu php-bcmath memcached wget unzip |
| |
Or ... | Alternately, you can specify the php version as follows: |
| |
sudo apt-get install php7.4-{cgi,cli,zip,mysql,mbstring,intl,fpm,curl,gd,imagick,xml,xmlrpc,gpm} | sudo apt-get install php8.2-{common,cgi,cli,zip,mysql,mbstring,intl,fpm,curl,gd,imagick,xml,xmlrpc,gpm,soap,opcache,apcu,bcmath} |
| |
Okay, let's now enable fast cgi and rewrite php modules and then check your config. | Okay, let's now enable fast cgi and rewrite php modules and then check your config. |
</IfModule> | </IfModule> |
| |
--- //[[jonathan@haacksnetworking.org|oemb1905]] 2023/06/22 17:00// | --- //[[jonathan@haacksnetworking.org|oemb1905]] 2023/06/29 04:09// |