Hello, today I ran Code: apt-get update at-get upgrade I noticed that PHP was updated. Code: php --version PHP 7.2.10-0ubuntu0.18.04.1 (cli) (built: Sep 13 2018 13:45:02) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.10-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies Unfortuntaley, I noticed that PhpMyAdmin (https://IPADDRESS:8080/phpmyadmin) is not working. So I tried: Code: /tail /var/log/apache2/error.log PHP Warning: is_dir(): open_basedir restriction in effect. File(/usr/share/php/php-php-gettext/) is not within the allowed path(s): (/usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/share/php/phpseclib/) in /usr/share/phpmyadmin/libraries/vendor_config.php on line 64 Please, help me to solve this problem.
First try Code: apt-get dist-upgrade in case some part of upgrade is missing. That error.log line is a Warning, it should not prevent stuff from working. Check if you have error messages in some log. Also: in what way is phpmyadmin not working? What happens when you try to use it?
Hello Taleman, and thanks for your reply. Here we go: apt-get dist-upgrade Code: Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: icu-devtools libicu-dev 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Hello again and: yes, that is true. So the next line looks like a clarification: Code: PHP Fatal error: require_once(): Failed opening required '/usr/share/php/php-gettext/gettext.inc' (include_path='.') in /usr/share/phpmyadmin/libraries/common.inc.php on line 77 I'm simply trying to reach PhpMyAdmin as usual (See #1 post). Thanks again
I think it's already installed. Code: apt-get install php-gettext Reading package lists... Done Building dependency tree Reading state information... Done php-gettext is already the newest version (1.0.12-0.1). 0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded. My guess is: are opendir restrictions (See my #1 post) the cause of this error?
Hmm. Maybe some file of it got removed, try to reinstall it with: apt-get install --reinstall php-gettextif this does not help, post the output of: ls -la /usr/share/php/php-gettext/
Still not working. Code: ls -la /usr/share/php/php-gettext/ total 8 drwxr-xr-x 2 root root 4096 Sep 20 12:22 . drwxr-xr-x 22 root root 4096 Sep 11 23:30 .. lrwxrwxrwx 1 root root 30 Jan 29 2017 gettext.inc -> ../php-php-gettext/gettext.inc lrwxrwxrwx 1 root root 30 Jan 29 2017 gettext.php -> ../php-php-gettext/gettext.php lrwxrwxrwx 1 root root 30 Jan 29 2017 streams.php -> ../php-php-gettext/streams.php
You still have upgrade that is not complete: Run the command Code: apt-get dist-upgrade Do you have multiple PHP versions installed?
In #3 you had 2 packages kept back. In #6 you had 23. Do you know what you are doing and these partially done updates are what you need?