phpmyadmin: getting blank page at localhost/phpmyadmin
Murray Eisenberg
murrayeisenberg at gmail.com
Sun Oct 29 01:04:11 UTC 2017
Found the cause of the problem: a syntax error in config.inc.php.
I found the error by cd to /opt/local/www/phpmyadmin and then executing php index.php. That gave the syntax error message.
> On 28 Oct2017, at 6:20 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>
> Following the instructions at https://trac.macports.org/wiki/howto/PHP <https://trac.macports.org/wiki/howto/PHP>,
> I’ve completed a reinstall of phpmyadmin 4.7.4 (after getting working reinstalls of apache 2.4, mysql 5.7, and php 7.1).
>
> I followed Step 4 (“Install phpMyAdmin), then the first Step 6 (“Configure phpMyAdmin"), and finally the _second_ (obviously mis-numbered) Step 6 (“Install pmadb”). In that last stepI did both parts, namely:
>
> - create the sql tables; and
> - read in to mysql the file mysql_phpMyAdmin_pmaSetup.sql — with the 3 edits indicated as needed for MySQL >= 5.6.7.
>
> I did do three things differently with config.inc.php:
>
> (1) I’m using $cfg['Servers'][$i]['auth_type'] = 'cookie’;
> and a setting for $cfg['blowfish_secret’]
>
> (2) I used a custom value for $cfg['Servers'][$i]['controlpass’] instead of 'pmapass'
>
> (3) I’ve uncommented all the commented cfg lines that are shown at the end of the page (e.g., $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin’; ).
>
> Nonetheless, if I try to browse to http://localhost/phpmyadmin <http://localhost/phpmyadmin> …
>
> ** I just see a blank page.
>
> (The same thing happens, of course, if for the URL I use a virtual host ServerName that I configured in the apache httpd-vhosts.conf file.)
>
> Yes, apache’s httpd.conf includes both...
>
> <IfModule dir_module>
> DirectoryIndex index.php index.html
> </IfModule>
>
> .. and:
>
> LoadModule dir_module lib/apache2/modules/mod_dir.so
>
> Any ideas how to fix this?
> —
> Murray Eisenberg murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>
> 503 King Farm Blvd #101 Home (240)-246-7240
> Rockville, MD 20850-6667 Mobile (413)-427-5334
>
>
---
Murray Eisenberg murrayeisenberg at gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667 Mobile (413)-427-5334
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20171028/747494ec/attachment.html>
More information about the macports-users
mailing list