We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
phpmyadmin not found after php upgrade
Re: phpmyadmin not found after php upgrade
Thank you for replying,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:~$
1) yes I'm still getting the 404 error
2 3 4) I guess not
Re: phpmyadmin not found after php upgrade
I don't even have this folder /var/log/apache2/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
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: phpmyadmin not found after php upgrade
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.
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.
Re: phpmyadmin not found after php upgrade
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 ?
So I added
In my php.ini but still not working. That's why I want to read the log files. Keep you updated.
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
Code: Select all
open_basedir = /usr/share/phpmyadmin/:/usr/share/php