-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 22 - Fresh install from apt include_path
problem?
#18299
Comments
Hi @terraping That's weird but looks similar to #17957 How did you install the package ? You should try to install the version from our PPA, it's more up to date. But the packaging it the same. |
Yes from the apt install. I just tried installing manually by unzipping the latest stable release into /var/www/html and it works fine this way. Strange, but I am ok with this solution. Thanks! |
Well, it looks like doing it this way did not create a database user or the phpmyadmin database, so to save work I ended up deleting that and using this method that somehow I missed before. sudo add-apt-repository ppa:phpmyadmin/ppa
sudo apt-get update
sudo apt-get install phpmyadmin I prefer this so that it can be automatically updated in the future. This seems to have worked perfectly other than the default user 'phpmyadmin' does not have privileges to create databases, easy enough to fix that. |
Thanks for the feedback, I think we can agree it's solved Also I would want to say that in your backtrace it said And it's probably solved because the package has an I think it was that 🤔 |
include_path
problem?
include_path
problem?include_path
problem?
Hi @utkarsh2102 Edit: SRU done in https://bugs.launchpad.net/ubuntu/+source/phpmyadmin/+bug/2013402 |
Ubuntu 22.04.2
Apache 2.3.52
PHP 8.1.2
PHP Warning: require_once(PhpMyAdmin/MoTranslator/autoload.php): Failed to open stream: No such file or directory in /usr/share/phpmyadmin/autoload.php on line 2 PHP Fatal error: Uncaught Error: Failed opening required 'PhpMyAdmin/MoTranslator/autoload.php' (include_path='.') in /usr/share/phpmyadmin/autoload.php:2\nStack trace:\n#0 /usr/share/phpmyadmin/libraries/common.inc.php(95): require_once()\n#1 /usr/share/phpmyadmin/index.php(15): require_once('...')\n#2 {main}\n thrown in /usr/share/phpmyadmin/autoload.php on line 2
'php -r "echo get_include_path();"
.:/usr/share/php
'
Seems like I am overlooking something simple but I have checked and rechecked everything I can find in the wiki and previous issues. Any help would be much appreciated!
The text was updated successfully, but these errors were encountered: