• We had to restore from a backup today after a failed software update. Backup was from 0000 EDT and restored it at 0800 EDT so we lost about 8hrs. Today is 07/20/2024. More info here.

Multiple version of PHP on different Virtual Hosts (Manjaro Linux)

DomyIT

New Member
Joined
Sep 30, 2023
Messages
1
Reaction score
0
Credits
15
I'm on Manjaro Linux.
I would like to be able to configure apache, php, mariadb and phpmyadmin.
I would like to create a virtual host for each project.

The structure should be this:
  • /home/user/www/site1/ (PHP 8.2)
  • /home/user/www/site2/ (PHP 8.1)
  • /home/user/www/site3/ (PHP 8.0)

I would like to be able to access the site via the addresses:
  • site1.test
  • site2.test
  • site3.test

On “site1” I would like the root document to be:
- /home/user/www/site1/public (Laravel installation)

Can you tell me the procedure for doing this?

If possible, also enable HTTPS on virtual hosts...

Thanks in advance to everyone.
 


I don't see why you would want to but it is possible, see link below which Google came up with.
 

Members online


Latest posts

Top