I have a big problem with MyBB. I uploaded the files fine, gave rights 777.
000-default.conf
entry from apache2:
<VirtualHost *:80>
ServerName 192.168.1.19
ServerAdmin webmaster@localhost
DocumentRoot /var/www/web/
<Directory /var/www/web>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/php/php8.2-fpm.sock|fcgi://localhost/"
</FilesMatch>
ErrorLog ${APACHE_LOG_DIR}/web_error.log
CustomLog ${APACHE_LOG_DIR}/web_access.log combined
</VirtualHost>
<VirtualHost *:80>
ServerName 192.168.1.19
ServerAdmin webmaster@localhost
DocumentRoot /var/www/mybb/
<Directory /var/www/mybb>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/php/php8.1-fpm.sock|fcgi://localhost/"
</FilesMatch>
ErrorLog ${APACHE_LOG_DIR}/mybb_error.log
CustomLog ${APACHE_LOG_DIR}/mybb_access.log combined
Alias /mybb /var/www/mybb
</VirtualHost>
<VirtualHost *:80>
ServerName 192.168.1.19
ServerAdmin webmaster@localhost
DocumentRoot /usr/share/phpmyadmin/
<Directory /usr/share/phpmyadmin/>
Options FollowSymLinks
DirectoryIndex index.php
AllowOverride All
</Directory>
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/php/php8.2-fpm.sock|fcgi://localhost/"
</FilesMatch>
ErrorLog ${APACHE_LOG_DIR}/phpmyadmin_error.log
CustomLog ${APACHE_LOG_DIR}/phpmyadmin_access.log combined
Alias /phpmyadmin /usr/share/phpmyadmin
</VirtualHost>
After typing 192.168.1.19/mybb
does not work, same if I type 192.168.1.19/mybb/install
or 192.168.1.19/install
MyBB must be using version 8.1. How to fix this? I have no strength left. ChatGPT can't help, I don't know anything about it. I am using Ubuntu 22.04.2 LTS. Apache version is 2.4.56, mariadb version is 10.11.2, php version is 8.1.17 (All packages from the stable release)
/var/ww/web
and phpmyadmin must use php 8.2. The site and phpmyadmin work, but mybb does not.