Installing phpMyAdmin on a newly installed bitrixVM
Rus
Eng
Установка phpMyAdmin на вновь установленную bitrixVM

All English-language materials have been translated fully automatically using the Google service

The Bitrix environment uses its own tools for working with databases, but if you are more familiar with PhpMyAdmin , we will tell you how to install the program on the Bitrix server.

Connect to the server via SSH and exit the Bitrix menu through item 0.

Install PhpMyAdmin:

 yum install phpmyadmin -y 

Set the necessary permissions for the directory with phpMyAdmin and the directory with temporary program files:

 chown -R bitrix: bitrix / usr / share / phpMyAdmin
chown bitrix: bitrix / var / lib / phpMyAdmin / temp 

Create a link in the site directory pointing to the installed phpMyAdmin :

 ln -s / usr / share / phpMyAdmin / home / bitrix / www / phpmyadmin 

Note: if you have several separate kernel sites, and you want PMA to open from the links of each site, create a link in the directory of each site. Example:

 ln -s / usr / share / phpMyAdmin / home / bitrix / www / phpmyadmin
ln -s / usr / share / phpMyAdmin / home / bitrix / ext_www / phpmyadmin 

Let's add the secret key to the configuration file phpMyAdmin.

To do this, we will generate a 32-digit key, this can be done with an online password generator or the pwgen utility in Linux

 pwgen 32 

And add the key to the file:

 /usr/share/phpMyAdmin/libraries/config.default.php 

to line 108:

	$cfg['blowfish_secret'] = '’'

This will look like this:

blowfish_secret

Now let's move the phpMyAdmin configuration file for the Apache web server to the required directory:

 mv /etc/httpd/conf.d/phpMyAdmin.conf / etc / httpd / bx / conf / 

Let's edit the transferred file with any convenient text editor.

Line 16 needs to be removed:

 Require local 

And lines 20 to 23:

 Deny from All
Allow from 127.0.0.1
Allow from :: 

And after the line:

 Directory / usr / share / phpMyAdmin / 

Add:

 php_admin_value mbstring.func_overload 0 

As a result, you should get the following configuration:

phpMyAdmin.conf

Note: With this setting, phpMyAdmin will be accessible from all IP addresses, without restrictions. Using the Apache directives, you can set the access parameters that you need.

To apply the perfect settings, restart the Apache2 web server:

 apachectl restart 

Done, phpMyAdmin on Bitrix is configured! Follow the link:

 site.ru/phpmyadmin 

Reprint from the site FIRST VDS < / a>

Comments

There are no comments yet, you can be the first to leave it

Leave a comment

The site uses a comment pre-moderation system, so your message will be published only after approval by the moderator

You are replying to a user's comment

Send

FEEDBACK

Email me

Are you developing a new service, making improvements to the existing one and want to be better than your competitors? You have come to the right place. I offer you a comprehensive studio-level website development. From me you can order design, layout, programming, development of non-traditional functionality, implementation of communication between CMS, CRM and Data Analitics, as well as everything else related to sites, except for promotion.

Contact, I will always advise on all questions and help you find the most effective solution for your business. I am engaged in the creation of sites in Novosibirsk and in other regions of Russia, I also work with the CIS countries. You will be satisfied with our cooperation

An error occurred while sending, please try again after a while
Message sent successfully

Phones

+7(993) 007-18-96

Email

info@tichiy.ru

Address

Россия, г. Москва

By submitting the form, you automatically confirm that you have read and accept the Privacy Policy site

Contact with me
Send message
By submitting the form, you automatically confirm that you have read and accept Privacy policy of site
Sending successful!
Thank you for contacting :) I will contact you as soon as possible
Sending failed
An error occurred while sending the request. Please wait and try again after a while or call my phone number