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
phpmyadmin not found after php upgrade
Hello everyone,
I've upgraded my PHP from php 5.4 to php 5.6 using this tuto
http://www.techoism.com/how-to-upgrade- ... entosrhel/
Now I can't find the phpmyadmin nor roundcube on VestaCP
When I go to the Database tab and click he phpmyadmin button , I got page not found :(
I guess after upgrading the php version , I lost the phpmyadmin and the roundcube folders
how can I get them back?
Regards,
I've upgraded my PHP from php 5.4 to php 5.6 using this tuto
http://www.techoism.com/how-to-upgrade- ... entosrhel/
Now I can't find the phpmyadmin nor roundcube on VestaCP
When I go to the Database tab and click he phpmyadmin button , I got page not found :(
I guess after upgrading the php version , I lost the phpmyadmin and the roundcube folders
how can I get them back?
Regards,
Last edited by angemon on Sat Feb 04, 2017 1:55 pm, edited 2 times in total.
Re: phpmyadmin not found after php upgrade
nice read with similar issue: viewtopic.php?t=5147 ... might provide some insight?
Re: phpmyadmin not found after php upgrade
this is not the same issue , I can't even go to [my server ip]/phpmyadmin/ because the directory phpmyadmin is not found after upgrading my php versionrhyker2u wrote:nice read with similar issue: viewtopic.php?t=5147 ... might provide some insight?
Re: phpmyadmin not found after php upgrade
recreate the webserver files (I'm using LEMP myself, thus they are in /etc/nginx/conf.d/)
Filename: phpmyadmin.inc
Filename: webmail.inc
and restart nginx: nginx -s reload
Filename: phpmyadmin.inc
Code: Select all
location /phpmyadmin {
alias /usr/share/phpmyadmin/;
location ~ /(libraries|setup) {
return 404;
}
location ~ ^/phpmyadmin/(.*\.php)$ {
alias /usr/share/phpmyadmin/$1;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
root /usr/share/;
}
}
Code: Select all
location /webmail {
alias /var/lib/roundcube/;
location ~ /(config|temp|logs) {
return 404;
}
location ~ ^/webmail/(.*\.php)$ {
alias /var/lib/roundcube/$1;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
}
Re: phpmyadmin not found after php upgrade
Hey rhyker2u I've tried your solution but it didn't work for me... What might have gone wrong? I'm using LEMP too
____________________________
Vill du spela borde du testa dagens casino eller om du vill spela på svenska så är Sweden casino kanske ett bättre alternativ.
____________________________
Vill du spela borde du testa dagens casino eller om du vill spela på svenska så är Sweden casino kanske ett bättre alternativ.
Last edited by BebeLeche on Sat Sep 04, 2021 9:27 pm, edited 2 times in total.
Re: phpmyadmin not found after php upgrade
Hello,rhyker2u wrote:recreate the webserver files (I'm using LEMP myself, thus they are in /etc/nginx/conf.d/)
Filename: phpmyadmin.inc
Filename: webmail.incCode: Select all
location /phpmyadmin { alias /usr/share/phpmyadmin/; location ~ /(libraries|setup) { return 404; } location ~ ^/phpmyadmin/(.*\.php)$ { alias /usr/share/phpmyadmin/$1; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $request_filename; } location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { root /usr/share/; } }
and restart nginx: nginx -s reloadCode: Select all
location /webmail { alias /var/lib/roundcube/; location ~ /(config|temp|logs) { return 404; } location ~ ^/webmail/(.*\.php)$ { alias /var/lib/roundcube/$1; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $request_filename; } }
I have tried your advice but it didn't work , I still can't find phpmyadmin nor webmail
what I have done following your steps , I went first to: cd /etc/nginx/conf.d/
then I used the command LS to check what files I have , I noticed I don't have phpmyadmin.inc NOR webmail.inc
so I used NANO -W to create those two files and I copy paste what you have suggested
then I used "nginx -s reload" to restart nginx
but that didn't work?
What do you think ? I'm sure I need to reinstall phpmyadmin and webmail somehow !!
Re: phpmyadmin not found after php upgrade
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?
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:~$
-
- 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
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
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