Откуда вы взяли такой синтаксис VirtualHost?
<VirtualHost addr[:port] [addr[:port]] ...> ... </VirtualHost>
https://httpd.apache.org/docs/2.4/mod/core.html#vi...
Вам надо делить на основе Directory, как-то так:
<VirtualHost 192.168.1.1:80>
ServerAdmin admin@8080
ServerName 192.168.1.1
DocumentRoot /var/www
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
<Directory "/var/www/8080">
DirectoryIndex 7.php
SetHandler "proxy:fcgi://127.0.0.1:8080
AddHandler php74-fcgi .php
Action php74-fcgi /cgi-bin/php74.fcgi
</Directory>
<Directory>
DirectoryIndex 8.php
SetHandler "proxy:fcgi://127.0.0.1:8082
AddHandler php82-fcgi .php
Action php82-fcgi /cgi-bin/php82.fcgi
</Directory>
ErrorLog /var/log/httpd/8080.log
CustomLog /var/log/httpd/8080.log combined
</VirtualHost>