Nextcloud on same server w/ wordpress & php7.4

I have a vps running Debian11 with apache2. I have wordpress running on a subdomain to mysite which uses php7.4. I am trying to install Nextcloud in another subdomain. I set up and enabled a virtual host for the sub-domain, set up ssl via lets-encrypt. Then I installed php8.2 & php8.2-fpm and php7.4-fpm following instructions I found online. I placed an info.php* file in the /var/www/nc directory I set up for the site. In the browser the page indicated it was running php8.2. After using wget to download and unpack nextcloud, when I go to browser to complete installation I get:


You don’t have permission to access this resource.

Apache/2.4.56 (Debian) Server at Port 443

Am I missing some additional ssl configuration?
Thanks in advance

That was it. When I unpacked the zip it created a new folder nextcloud so I had to update both the .conf file and the ssl.conf file to reflect to new PATH.