All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by Smartercom » Thu Apr 30, 2020 2:27 am
Hi, i'm testing last release of Vicidial 9.0.2 installed from iso on my virtual server but i have some problems with phpMyAdmin.I have installed from advanced installer and choose yes for install phpmyadmin, packet is installed but directory /srv/www/htdocs is empty and if i try to rech phpmyadmin page i receive 404 not found.Can you help me?What can i try?
-
Smartercom
-
- Posts: 24
- Joined: Mon Apr 20, 2020 9:51 am
by carpenox » Thu Apr 30, 2020 3:02 am
u open port 8080 and try to get to it tru that port?
http://127.0.0.1:8080/phpMyAdmin change 127.0.0.1 to your public ip
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
-
carpenox
-
- Posts: 2423
- Joined: Wed Apr 08, 2020 2:02 am
- Location: St Petersburg, FL
-
by Smartercom » Fri May 01, 2020 3:59 am
i have tried with no success...i need it to mange db..Thanks a lot for reply
-
Smartercom
-
- Posts: 24
- Joined: Mon Apr 20, 2020 9:51 am
by Kabis » Fri May 01, 2020 4:47 am
File: /etc/httpd/conf.d/phpMyAdmin.php
- Code: Select all
Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin
<Directory /usr/share/phpMyAdmin/>
AddDefaultCharset UTF-8
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
Require ip 106.198.21.193
Require ip ::1
</RequireAny>
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from All
Allow from ::1
</IfModule>
</Directory>
Find your Ip. If private LAN, it's okay. Else find your workstation public IP. Put it in this code instead of 106.198.21.193.
After that restart httpd service.
Regards
KABIS
We are ready to help you,
Regards,
KABIS,
Email ID: kabisforu@gmail.com
Website: www.kabis.org.in
Skype: kabisforu
-
Kabis
-
- Posts: 100
- Joined: Sat Nov 03, 2018 12:08 am
- Location: India
-
by Smartercom » Fri May 01, 2020 9:31 pm
Thanks for reply, but problem is not here.I have resolved by editing original file phpMyAdmin.conf by this line
- Code: Select all
php_admin_value open_basedir "/srv/www/htdocs/phpMyAdmin:/var/lib/php7:/tmp:/usr/share/doc/packages/phpMyAdmin:/etc/phpMyAdmin:/proc/meminfo:/proc/stat"
</Directory>
<Directory /srv/www/htdocs/phpMyAdmin/libraries>
Require all denied
</Directory>
i think the file point to usr/share and apache can not authorize this directory so i copied phpMyAdmin folder in srv/www/htdocs from usr/share...after reboot apache2 service..now it works as well..
-
Smartercom
-
- Posts: 24
- Joined: Mon Apr 20, 2020 9:51 am
by carpenox » Sun May 31, 2020 11:39 am
yea i had to do the same thing
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
-
carpenox
-
- Posts: 2423
- Joined: Wed Apr 08, 2020 2:02 am
- Location: St Petersburg, FL
-
Return to Support
Who is online
Users browsing this forum: Google [Bot] and 103 guests