A
A
Alexander Semenenko2017-12-07 16:38:11
PHP
Alexander Semenenko, 2017-12-07 16:38:11

Why is phpmyadmin not working in lxc?

I install phpmyadmin + php5 + apache2
in lxc I tried the same thing on a linux host, it works there, if I go to lxc it doesn’t work

ip/phpMyAdmin/info.php - the script is executed, I see
ip/phpMyAdmin information in the browser - it’s empty in the browser, in the logs apache "GET /phpMyAdmin/ HTTP/1.1" 200 -

It seems to have enabled php logs: (php.ini)
php --info | grep error
display_errors => STDOUT => STDOUT
display_startup_errors => On => On
error_append_string => no value => no value
error_log => /var/log/php_errors.log => /var/log/php_errors.log
error_prepend_string => no value => no value
error_reporting => 32767 => 32767
html_errors => Off => Off
ignore_repeated_errors => Off => Off
log_errors => On => On
log_errors_max_len => 1024 => 1024
track_errors => Off => Off
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
suhosin.disable.display_errors => Off => Off
suhosin.sql.bailout_on_error => Off => Off

But /var/log/php_errors.log is empty.

If I execute the script itself in the console:
[[email protected] phpMyAdmin]# php ./index.php
Nothing happens, but on the working machine the output is large.

What can be wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question