Ad Widget

Collapse

Install problem with phpMyAdmin as a companion application

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #1

    Install problem with phpMyAdmin as a companion application

    I always install phpMyAdmin on my zabbix systems as a companion app. I use some RHEL flavor and older versions had phpMyAdmin on EPEL, so install was pretty easy. That doesn't seem to be the case, so I downloaded the latest zip file and used those install procedures. I get nothing but a blank screen, code is 200, but no contents.

    Environment is a VULTR Rocky Linux release 8.6 (Green Obsidian), Zabbix 6.0.6, php 7.2.24, phpMyAdmin 5.2.0 Of course the Zabbix php app is working. I put a phpinfo() file in the /usr/share/phpmyadmin directory and it loads so it's not access lists. I haven't found any related error messages in any logs.

    Any ideas?

    Thanks
  • Answer selected by Markku at 05-07-2022, 16:02.
    LenR
    Senior Member
    • Sep 2009
    • 1005

    I think I found it, it has something to do with the config.inc.php TempDir setting. I was following instructions that installed via unzip that added that option pointing to /var/lib/phpmyadmin/tmp, then creating that directory. I don't see a permissions error, but I wonder if it has something to do with php-fpm needing permissions or something. Changing it to just /tmp works.

    Thanks

    Comment

    • vladimir_lv
      Senior Member
      • May 2022
      • 240

      #2
      1. Try running php /phpMyAdmin_FOLDER/index.php in CLI, you'll get an error right there.
      2. clear browser cache

      Comment

      • LenR
        Senior Member
        • Sep 2009
        • 1005

        #3
        Running php from CLI returns nothing, so I guess that is what the browser sees too.

        Clearing cache didn't matter either.

        Thanks

        Comment

        • LenR
          Senior Member
          • Sep 2009
          • 1005

          #4
          I think I found it, it has something to do with the config.inc.php TempDir setting. I was following instructions that installed via unzip that added that option pointing to /var/lib/phpmyadmin/tmp, then creating that directory. I don't see a permissions error, but I wonder if it has something to do with php-fpm needing permissions or something. Changing it to just /tmp works.

          Thanks

          Comment

          Working...