You are not logged in.

#1 2017-07-23 19:44:36

Redgard
Member
From: Canada, Toronto
Registered: 2017-07-20
Posts: 19
Website

[SOLVED] Server | configure phpmyadmin with Virtualhost

Hello,


I've got a VPS LAMP with multi-site (virtualhost), and I would like to add phpmyadmin for each website.

I've read* to add the following command in the .conf folder.

nano /etc/httpd/conf/wpsite/wpagence.conf
nano /etc/httpd/conf/wpsite/wpunigen.conf

 
Alias /phpmyadmin "/usr/share/webapps/phpMyAdmin"
<Directory "/usr/share/webapps/phpMyAdmin">
    DirectoryIndex index.php
    AllowOverride All
    Options FollowSymlinks
    Require all granted
</Directory>

thanks for help,
Red'

Last edited by Redgard (2017-07-23 20:13:42)

Offline

#2 2017-07-23 20:12:46

Redgard
Member
From: Canada, Toronto
Registered: 2017-07-20
Posts: 19
Website

Re: [SOLVED] Server | configure phpmyadmin with Virtualhost

sorry I forgot to restart apache

"systemctl restart httpd"

Offline

Board footer

Powered by FluxBB