fizdog

joined 1 year ago
 

I am trying to run 2 different sites with 2 different php versions. I had it working fine but the 2nd site eneded up possibly needed a newer(8.1 to be exact) version and now both sites are stuck on using 7.4-fpm and i removed everything related to 7.4-fpm and now it just gives me a 7.4-fpm sock error in the log file. yes i have changed it in the sitenmae.conf to the 8.1 version but as i said it still wants to keep using 7.4 and i'm not sure why.

edit: so using LetsEncrypt, i found it no longer uses site.conf but site-le-ssl.conf everything fors again!

 

I am self hosting my own web server using apache2 with the service " afraid.org" so i can use my domain that i had back when i was paying for a VPS. I also have another domain I would like to use but not pointing to the /var/html/www as the other domain. is there some file i have to edit like how its done if adding domains to WHM/cPanel? like when you add a domain in cPanel is uses a folder with the name of the domain and that domain using whats in the folder.