Skip to main content

phpMyAdmin custom config that persists

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey there!  The short answer is "no"

    The longer answer is, how much work and maintenance do you want to put into it?

    You could create a custom file on the server and that replaces the config.inc.php on the server every night after upcp runs.  A simple copy command in a cron would work just fine as long as the file ends up with the correct permissions and ownership.  But, keep in mind you'd need to maintain this if the file changes in the future, and we can't say for sure if this would interfere with cPanel itself moving forward.

    0
  • Ben Taylor

    Hi and thanks for getting back to me!

    It’s frustrating. Some default features really don’t work for me. In Docker, while in development, I create a second file called config.user.inc.php, but Docker handles it in a way I don't understand.

    Is there a way to create a symlink that appends or is used alongside the default? I wouldn't mind creating a cron job, but replacing the original file seems problematic, especially if the file changes as you mentioned.

    0
  • cPRex Jurassic Moderator

    No, unfortunately I don't have a way to append anything to that file either.

    If you didn't need a global install of PHPMyAdmin, you could always install your own version on a particular domain outside of cPanel and we won't touch that.

    You could also submit a feature request for improved behavior of that configuration file at features.cpanel.net as I also handle that area.

    0

Please sign in to leave a comment.