-
Notifications
You must be signed in to change notification settings - Fork 5
PHP install
Justin Nesselrotte edited this page Aug 16, 2023
·
2 revisions
When installing a new version of php, you need to install multiple dependencies. Here I'm using 8.2.
sudo apt-get install php8.2 php8.2-mbstring php8.2-redis php8.2-fpm php8.2-curl php8.2-intl php8.2-xml php8.2-mysql php8.2-gmp
Edit /etc/nginx/sites-available/webhooks.denhac.org
with root, and find the line that looks like /var/run/php/php8.0-fpm.sock
where the 8.0 there is your current version. Replace the php version appropriately, e.g. if doing php8.2 that section would now be /var/run/php/php8.2-fpm.sock
.
sudo nginx -t
sudo systemctl reload nginx
sudo systemctl restart horizon.service
sudo systemctl restart websockets.service