Problem with php when installing vesta panel

Hello, I’ve been trying to install vestacp the day, and I always have this problem:

$cfg[‘Servers’][$i][‘pmadb’] … OK $cfg[‘Servers’][$i][‘relation’] … não está OK [ Documentação ] Recursos de relações gerais: Desabilitado

$cfg[‘Servers’][$i][‘table_info’] … não está OK [ Documentação ] Exibir recursos: Desabilitado

$cfg[‘Servers’][$i][‘table_coords’] … não está OK [ Documentação ] $cfg[‘Servers’][$i][‘pdf_pages’] … não está OK [ Documentação ] Criação de PDFs: Desabilitado

$cfg[‘Servers’][$i][‘column_info’] … não está OK [ Documentação ] Exibindo comentários da coluna: Desabilitado Transformações do navegador: Desabilitado

$cfg[‘Servers’][$i][‘bookmarktable’] … não está OK [ Documentação ] Consulta SQL gravada: Desabilitado

$cfg[‘Servers’][$i][‘history’] … não está OK [ Documentação ] Histórico SQL: Desabilitado

$cfg[‘Servers’][$i][‘designer_coords’] … não está OK [ Documentação ] Designer: Desabilitado

$cfg[‘Servers’][$i][‘tracking’] … não está OK [ Documentação ] Tracking: Desabilitado

$cfg[‘Servers’][$i][‘userconfig’] … não está OK [ Documentação ] User preferences: Desabilitado

Does anyone know how I can solve this problem?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@Zachary_DuBois - phpMyAdmin always has to be the one script that has the most complicated and well…over-complicated configuration setup. I really wish they’d revamp the project and slim things down. It’s configuration like this that makes it a nightmare :-).


First, for simplicity, I would recommend Adminer over phpMyAdmin. It’s slimmer, a single file (over hundreds) and IMO, much faster while providing the same options. If you find that something isn’t there that you need, look at the available plugins.

All you need to do with Adminer is download the file, upload it to your web server and access it (i.e. there is no installation process). You’ll then enter in your hostname, database name and database password and click login. Simple and easy.

Of course, you do want to restrict access to this file and I would also rename it something obscure (i.e. not adminer.php) as scanners are run and that file name is commonly included in such scanners (which are run by hackers looking to break in to your DB).

Hello, thanks for the help, then I searched in all directories and not found the create_tables.sql file. I have no idea how to do this, I had already installed the OS and various vestacp before and never had this problem, but now all that I try to install OS have this problem.

So what it looks like is you never added a user/database for phpMyAdmin to use. When you install phpMyAdmin, there is a file in the directory sql called create_tables.sql. You want to create an empty database for phpMyAdmin. Then import that sql file using cat /path/to/create_tables.sql | mysql -u <mysql user> -p <database> or you can upload it through phpMyAdmin assuming you can login with a user that can create/edit databases.

After doing that, you’ll want to create a phpMyAdmin user in your database instance. Make sure to only give this user permissions on the phpMyAdmin database you created. After, edit your phpMyAdmin with the following:

$cfg['Servers'][$i]['pmadb'] = 'phpMyAdmin DB name';
$cfg['Servers'][$i]['controlhost'] = '<DB Hostname/IP>';
$cfg['Servers'][$i]['controlport'] = '3306';
$cfg['Servers'][$i]['controluser'] = '<phpMyAdmin User>';
$cfg['Servers'][$i]['controlpass'] = '<DB Password>';

And you should be good. @jtittle has a good find too so take a look at his answer. I am taking a look at that right now :)