Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

phpmyadmin not found after php upgrade

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
16 posts
  • Previous
  • 1
  • 2
angemon
Posts: 10
Joined: Fri Jan 02, 2015 6:41 pm

Re: phpmyadmin not found after php upgrade
  • Quote

Post by angemon » Wed Feb 22, 2017 10:08 am

noogen wrote:More details?
1) Still get 404?
2) Do you have files under? ls -la /var/lib/roundcube/
3) What about /usr/share/phpmyadmin?
4) Is php-fpm running?

Code: Select all

admin@hostingcorp-vestacp-1:~$ ps -ax | grep php-fpm
  467 ?        Ss     0:04 php-fpm: master process (/usr/local/vesta/php/etc/php-fpm.conf)
  468 ?        S      0:00 php-fpm: pool www
  469 ?        S      0:00 php-fpm: pool www
17347 pts/0    S+     0:00 grep --color=auto php-fpm
admin@hostingcorp-vestacp-1:~$
Thank you for replying,
1) yes I'm still getting the 404 error
2 3 4) I guess not
Image
Top

angemon
Posts: 10
Joined: Fri Jan 02, 2015 6:41 pm

Re: phpmyadmin not found after php upgrade
  • Quote

Post by angemon » Wed Feb 22, 2017 10:16 am

mehargags wrote:the first thing you should be looking at is Apache logs (if running default rev. proxy) or Ngnix (if running lemp)

clear your domains logs first
> /var/log/apache2/domains/<domain.xyz>.log

then
tail -f /var/log/apache2/domains/<domain.xyz>.log

Now try to access in your browser <domain.xyz>/phpmyadmin and watch the tail. If you can't understand that, please paste the tail output here
I don't even have this folder /var/log/apache2/
Image
Top

angemon
Posts: 10
Joined: Fri Jan 02, 2015 6:41 pm

Re: phpmyadmin not found after php upgrade
  • Quote

Post by angemon » Tue Feb 28, 2017 3:16 pm

bump this
Top

angemon
Posts: 10
Joined: Fri Jan 02, 2015 6:41 pm

Re: phpmyadmin not found after php upgrade
  • Quote

Post by angemon » Thu Mar 02, 2017 1:37 am

bump this
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: phpmyadmin not found after php upgrade
  • Quote

Post by mehargags » Thu Mar 02, 2017 5:59 am

I think something is very weird... Most probably a bad chown command you did or fiddled way too deep in the conf's

Try Rebuilding User/Web/DB in VestaCP to see if the config's refresh.
or
if possible, Backup and Fresh Install your OS and then VestaCP.
Top

Aporie
Posts: 8
Joined: Sat Dec 30, 2017 8:07 pm

Re: phpmyadmin not found after php upgrade
  • Quote

Post by Aporie » Fri Jan 19, 2018 5:59 pm

Hi,

I'm experiencing the exact same problem. From my investigation I have some open_basedir restrictions which forbid me to access the pages (phpmyadmin and roundcube).

But I couldn't finished to debug as I don't know if there is a way to force apache to write errors in error.log file ?

Code: Select all

[Fri Jan 19 17:46:09.699814 2018] [:error] [pid 25408] [client xx.xx.xx.xx:59836] PHP Warning:  Unknown: open_basedir restriction in effect. File(/usr/share/phpmyadmin/index.php) is not within the allowed path(s): (/tmp:/usr/bin:/home/admin:/home/orao:/opt) in Unknown on line 0
[Fri Jan 19 17:46:09.699885 2018] [:error] [pid 25408] [client xx.xx.xx.xx:59836] PHP Warning:  Unknown: failed to open stream: Operation not permitted in Unknown on line 0
[Fri Jan 19 17:46:09.699900 2018] [:error] [pid 25408] [client xx.xx.xx.xx:59836] PHP Fatal error:  Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.:/usr/share/php') in Unknown on line 0
So I added

Code: Select all

open_basedir = /usr/share/phpmyadmin/:/usr/share/php
In my php.ini but still not working. That's why I want to read the log files. Keep you updated.
Top


Post Reply
  • Print view

16 posts
  • Previous
  • 1
  • 2

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password