Phpmyadmin глючит?

MySQL/PostgreSQL/SQLite/Oracle/M$SQL/....

Модератор: terminus

Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Димон
проходил мимо

Phpmyadmin глючит?

Непрочитанное сообщение Димон » 2012-03-28 16:18:09

Всем привет, ситуация следуюущая. Забыл пароль от root на mysql, этот вопрос решил, но встала другая проблема после не могу попасть через phpmyadmin в управление базами. т.е.через webmin я с паролем root нормально захожу, через ssh тоже а phpmyadmin не пускает. Переустанавливал все(полной перестановки mysql, phpmyadmin), и не фига. Что может быть???? Freebsd 7.4 mysql 1.5.5

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Bayerische
капитан
Сообщения: 1820
Зарегистрирован: 2010-12-25 20:41:50
Откуда: Хлебная столица

Re: Phpmyadmin глючит?

Непрочитанное сообщение Bayerische » 2012-03-28 17:53:59

Как ставили, из портов, или распаковывали скаченный архив? В общем случае, конфиг вытрите.
Неплохо было бы видеть ошибки.

Димон
проходил мимо

Re: Phpmyadmin глючит?

Непрочитанное сообщение Димон » 2012-03-29 12:05:47

Ставил из портов.
Кстати папку в /va/db/mysql я снес и переустановил занова mysql может в этом проблема??? phpmyadmin юзает свою базу? И какие именно логи нужны т.е. из какого файла?


cat httpd-access.log

10.239.1.225 - - [29/Mar/2011:13:03:21 +0700] "GET /pma HTTP/1.1" 404 201 "-" "Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.10.229 Version/11.61"
10.239.1.225 - - [29/Mar/2011:13:03:29 +0700] "POST /pma/index.php HTTP/1.1" 302 - "http://10.239.1.247/pma/" "Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.10.229 Version/11.61"
10.239.1.225 - - [29/Mar/2011:13:03:29 +0700] "GET /pma/index.php?lang=ru&token=97cca50ec37d109788ed90011f0f26b7 HTTP/1.1" 200 7584 "http://10.239.1.247/pma/" "Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.10.229 Version/11.61"
10.239.1.225 - - [29/Mar/2011:13:03:30 +0700] "GET /pma/phpmyadmin.css.php?server=1&lang=ru&collation_connection=utf8_general_ci&token=70832727cf91f45b016cae5d6fa4c4e9&js_frame=right&nocache=3904134544 HTTP/1.1" 200 41672 "http://10.239.1.247/pma/index.php?lang= ... 011f0f26b7" "Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.10.229 Version/11.61"
10.239.1.225 - - [29/Mar/2011:13:03:30 +0700] "GET /pma/js/messages.php?lang=ru&db=&collation_connection=utf8_general_ci&token=70832727cf91f45b016cae5d6fa4c4e9 HTTP/1.1" 200 6667 "http://10.239.1.247/pma/index.php?lang= ... 011f0f26b7" "Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.10.229 Version/11.61"

cat httpd-error.log
[Tue Mar 29 13:03:21 2011] [error] [client 10.239.1.225] File does not exist: /usr/local/www/apache22/data/pma


Или какие нужны логи????

Димон
проходил мимо

Re: Phpmyadmin глючит?

Непрочитанное сообщение Димон » 2012-03-29 14:33:51

Всем снова привет, вопрос закрыт!
Как не странно но проблема решилась заходом в админку под другим браузером. Т.е. в чем поблема я так и не понял ((( Куки и временные чистил и не фига(это опера) а зашел под Мазилой с первого раза.... Что за херь?????

therb1
ефрейтор
Сообщения: 53
Зарегистрирован: 2011-05-10 2:19:46

Re: Phpmyadmin глючит?

Непрочитанное сообщение therb1 » 2012-04-20 9:41:08

Freebsd 9.0+phpmyadmin
пытаюсь сделать установку через графический интерфейс в браузере. А за место нее получаю только текст. запускаю по ссылке http://servername/pma/setup/

Код: Выделить всё

<?php
/**
 * Front controller for setup script
 *
 * @package    phpMyAdmin-setup
 * @copyright  Copyright (c) 2008, Piotr Przybylski <piotrprz@gmail.com>
 * @license    http://www.gnu.org/licenses/gpl.html GNU GPL 2.0
 */

/**
 * Core libraries.
 */
require './lib/common.inc.php';

$page = filter_input(INPUT_GET, 'page');
$page = preg_replace('/[^a-z]/', '', $page);
if ($page === '') {
    $page = 'index';
}
if (!file_exists("./setup/frames/$page.inc.php")) {
    // it will happen only when enterung URL by hand, we don't care for these cases
    die(__('Wrong GET file attribute value'));
}

// Handle done action info
$action_done = filter_input(INPUT_GET, 'action_done');
$action_done = preg_replace('/[^a-z_]/', '', $action_done);

// send no-cache headers
require './libraries/header_http.inc.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>phpMyAdmin setup</title>
<link href="../favicon.ico" rel="icon" type="image/x-icon" />
<link href="../favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery/jquery-1.6.2.js"></script>
<script type="text/javascript" src="../js/jquery/jquery-ui-1.8.16.custom.js"></script>
<script type="text/javascript" src="../js/jquery/jquery.json-2.2.js"></script>
<script type="text/javascript" src="../js/config.js"></script>
<script type="text/javascript" src="scripts.js"></script>
</head>
<body>
<h1><span class="blue">php</span><span class="orange">MyAdmin</span>  setup</h1>
<div id="menu">
<?php
require './setup/frames/menu.inc.php';
?>
</div>
<div id="page">
<?php
require "./setup/frames/$page.inc.php";
?>
</div>
</body>
</html>
В чем трабла куда копать?

Аватара пользователя
QweЯty
лейтенант
Сообщения: 796
Зарегистрирован: 2010-10-12 0:15:15
Откуда: Таганрог, Калининград
Контактная информация:

Re: Phpmyadmin глючит?

Непрочитанное сообщение QweЯty » 2012-04-22 17:09:23

включить php в апаче.
Инженер не смотрит порно. Он ведет расчет бабы на усталость © Федор Сумкин
Изображение

therb1
ефрейтор
Сообщения: 53
Зарегистрирован: 2011-05-10 2:19:46

Re: Phpmyadmin глючит?

Непрочитанное сообщение therb1 » 2012-04-25 2:55:26

с этим вроде решил теперь другая проблема уже обгуглился обпереставлялся непойму в чем трабла

Код: Выделить всё

Запускаю 127.0.0.1/pma/scripts/setup.php
Пишет 
Cannot load session extension. Please check your PHP configuration.

Код: Выделить всё

pkg_info |grep php
php5-5.3.8          PHP Scripting Language                                                                                                                                         
php5-bz2-5.3.8      The bz2 shared extension for php                                                                                                                               
php5-ctype-5.3.8    The ctype shared extension for php                                                                                                                             
php5-gd-5.3.8       The gd shared extension for php                                                                                                                                
php5-mbstring-5.3.8 The mbstring shared extension for php                                                                                                                          
php5-mcrypt-5.3.8   The mcrypt shared extension for php                                                                                                                            
php5-mysql-5.3.8    The mysql shared extension for php                                                                                                                             
php5-openssl-5.3.8  The openssl shared extension for php                                                                                                                           
php5-session-5.3.8  The session shared extension for php                                                                                                                           
php5-zlib-5.3.8     The zlib shared extension for php                                                                                                                              
phpMyAdmin211-2.11.11.3 A set of PHP-scripts to manage MySQL over the web   

Код: Выделить всё

ee /usr/local/etc/php/extension.ini
extension=apc.so
extension=openssl.so
extension=mysql.so
extension=mcrypt.so
extension=mbstring.so
extension=ctype.so
extension=gd.so
extension=pdf.so
extension=zlib.so
extension=bz2.so
extension=session.so

В чем проблема?

Bayerische
капитан
Сообщения: 1820
Зарегистрирован: 2010-12-25 20:41:50
Откуда: Хлебная столица

Re: Phpmyadmin глючит?

Непрочитанное сообщение Bayerische » 2012-04-25 9:36:50

В phpinfo(); имеется?

therb1
ефрейтор
Сообщения: 53
Зарегистрирован: 2011-05-10 2:19:46

Re: Phpmyadmin глючит?

Непрочитанное сообщение therb1 » 2012-04-25 10:56:31

Код: Выделить всё

127# phpinfo()
Неверно указанные ().

PYO
сержант
Сообщения: 187
Зарегистрирован: 2011-08-18 12:46:45

Re: Phpmyadmin глючит?

Непрочитанное сообщение PYO » 2012-04-25 11:19:26

php -i
или скрипт
<?php
phpinfo();
?>

ps После установки расширений пхп надо перезапустить апач.

therb1
ефрейтор
Сообщения: 53
Зарегистрирован: 2011-05-10 2:19:46

Re: Phpmyadmin глючит?

Непрочитанное сообщение therb1 » 2012-04-25 11:30:26

Код: Выделить всё

127# php -i
phpinfo()
PHP Version => 5.3.8

System => FreeBSD 127.0.0.1 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Build Date => Dec  5 2011 16:24:14
Configure Command =>  './configure'  '--with-layout=GNU' '--localstatedir=/var' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--with-pcre-regex=/usr/local' '--with-zlib-dir=/usr' '--program-prefix=' '--with-regex=php' '--with-zend-vm=CALL' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd9.0'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/etc
Loaded Configuration File => (none)
Scan this dir for additional .ini files => /usr/local/etc/php
Additional .ini files parsed => /usr/local/etc/php/extensions.ini

PHP API => 20090626
PHP Extension => 20090626
Zend Extension => 220090626
Zend Extension Build => API220090626,NTS
PHP Extension Build => API20090626,NTS
Debug Build => no
Thread Safety => disabled
Zend Memory Manager => enabled
Zend Multibyte Support => disabled
IPv6 Support => enabled
Registered PHP Streams => php, file, glob, data, http, ftp, https, ftps, compress.zlib, compress.bzip2  
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, mcrypt.*, mdecrypt.*, zlib.*, bzip2.*


This server is protected with the Suhosin Patch 0.9.10
Copyright (c) 2006-2007 Hardened-PHP Project
Copyright (c) 2007-2009 SektionEins GmbH


This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies


 _______________________________________________________________________


Configuration

apc

APC Support => disabled
Version => 3.1.9
APC Debugging => Disabled
MMAP Support => Enabled
MMAP File Mask =>  
Locking type => File Locks
Serialization Support => broken
Revision => $Revision: 308812 $
Build Date => Dec  5 2011 21:03:32

Directive => Local Value => Master Value
apc.cache_by_default => On => On
apc.canonicalize => On => On
apc.coredump_unmap => Off => Off
apc.enable_cli => Off => Off
apc.enabled => On => On
apc.file_md5 => Off => Off
apc.file_update_protection => 2 => 2
apc.filters => no value => no value
apc.gc_ttl => 3600 => 3600
apc.include_once_override => Off => Off
apc.lazy_classes => Off => Off
apc.lazy_functions => Off => Off
apc.max_file_size => 1M => 1M
apc.mmap_file_mask => no value => no value
apc.num_files_hint => 1000 => 1000
apc.preload_path => no value => no value
apc.report_autofilter => Off => Off
apc.rfc1867 => Off => Off
apc.rfc1867_freq => 0 => 0
apc.rfc1867_name => APC_UPLOAD_PROGRESS => APC_UPLOAD_PROGRESS
apc.rfc1867_prefix => upload_ => upload_
apc.rfc1867_ttl => 3600 => 3600
apc.serializer => default => default
apc.shm_segments => 1 => 1
apc.shm_size => 32M => 32M
apc.slam_defense => On => On
apc.stat => On => On
apc.stat_ctime => Off => Off
apc.ttl => 0 => 0
apc.use_request_time => On => On
apc.user_entries_hint => 4096 => 4096
apc.user_ttl => 0 => 0
apc.write_lock => On => On

bz2

BZip2 Support => Enabled
Stream Wrapper support => compress.bzip2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.6, 6-Sept-2010

Core

PHP Version => 5.3.8

Directive => Local Value => Master Value
allow_call_time_pass_reference => On => On
allow_url_fopen => On => On
allow_url_include => Off => Off
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => STDOUT => STDOUT
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => no value => no value
exit_on_timeout => Off => Off
expose_php => On => On
extension_dir => /usr/local/lib/php/20090626 => /usr/local/lib/php/20090626
file_uploads => On => On
highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font style="color: #FFFFFF">#FFFFFF</font>
highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .:/usr/local/share/pear => .:/usr/local/share/pear
log_errors => Off => Off
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => On => On
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
mail.add_x_header => Off => Off
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
max_execution_time => 0 => 0
max_file_uploads => 20 => 20
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
memory_limit => 128M => 128M
open_basedir => no value => no value
output_buffering => 0 => 0
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
realpath_cache_size => 16K => 16K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
register_globals => Off => Off
register_long_arrays => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
request_order => no value => no value
safe_mode => Off => Off
safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i  => /usr/sbin/sendmail -t -i 
serialize_precision => 17 => 17
short_open_tag => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
variables_order => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend.enable_gc => On => On

ctype

ctype functions => enabled

date

date/time support => enabled
"Olson" Timezone Database Version => 2011.8
Timezone Database => internal
Default timezone => Europe/Moscow

Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => no value => no value

ereg

Regex Library => Bundled library enabled

gd

GD Support => enabled
GD Version => bundled (2.0.34 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.4.7
T1Lib Support => enabled
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
libJPEG Version => 8
PNG Support => enabled
libPNG Version => 1.4.8
WBMP Support => enabled
XPM Support => enabled
XBM Support => enabled

Directive => Local Value => Master Value
gd.jpeg_ignore_warning => 0 => 0

libxml

libXML support => active
libXML Compiled Version => 2.7.8
libXML Loaded Version => 20708
libXML streams => enabled

mbstring

Multibyte Support => enabled
Multibyte string engine => libmbfl
HTTP input encoding translation => disabled

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Multibyte (japanese) regex support => enabled
Multibyte regex (oniguruma) version => 4.7.1

Directive => Local Value => Master Value
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.func_overload => 0 => 0
mbstring.http_input => pass => pass
mbstring.http_output => pass => pass
mbstring.http_output_conv_mimetypes => ^(text/|application/xhtml\+xml) => ^(text/|application/xhtml\+xml)
mbstring.internal_encoding => no value => no value
mbstring.language => neutral => neutral
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value

mcrypt

mcrypt support => enabled
mcrypt_filter support => enabled
Version => 2.5.8
Api No => 20021217
Supported ciphers => cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes 
Supported modes => cbc cfb ctr ecb ncfb nofb ofb stream 

Directive => Local Value => Master Value
mcrypt.algorithms_dir => no value => no value
mcrypt.modes_dir => no value => no value

mysql

MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => mysqlnd 5.0.8-dev - 20102224 - $Revision: 310735 $

Directive => Local Value => Master Value
mysql.allow_local_infile => On => On
mysql.allow_persistent => On => On
mysql.connect_timeout => 60 => 60
mysql.default_host => no value => no value
mysql.default_password => no value => no value
mysql.default_port => no value => no value
mysql.default_socket => no value => no value
mysql.default_user => no value => no value
mysql.max_links => Unlimited => Unlimited
mysql.max_persistent => Unlimited => Unlimited
mysql.trace_mode => Off => Off

mysqlnd

mysqlnd => enabled
Version => mysqlnd 5.0.8-dev - 20102224 - $Revision: 310735 $
Compression => not supported
SSL => supported
Command buffer size => 4096
Read buffer size => 32768
Read timeout => 31536000
Collecting statistics => Yes
Collecting memory statistics => No
Tracing => n/a

Client statistics =>  
bytes_sent => 0
bytes_received => 0
packets_sent => 0
packets_received => 0
protocol_overhead_in => 0
protocol_overhead_out => 0
bytes_received_ok_packet => 0
bytes_received_eof_packet => 0
bytes_received_rset_header_packet => 0
bytes_received_rset_field_meta_packet => 0
bytes_received_rset_row_packet => 0
bytes_received_prepare_response_packet => 0
bytes_received_change_user_packet => 0
packets_sent_command => 0
packets_received_ok => 0
packets_received_eof => 0
packets_received_rset_header => 0
packets_received_rset_field_meta => 0
packets_received_rset_row => 0
packets_received_prepare_response => 0
packets_received_change_user => 0
result_set_queries => 0
non_result_set_queries => 0
no_index_used => 0
bad_index_used => 0
slow_queries => 0
buffered_sets => 0
unbuffered_sets => 0
ps_buffered_sets => 0
ps_unbuffered_sets => 0
flushed_normal_sets => 0
flushed_ps_sets => 0
ps_prepared_never_executed => 0
ps_prepared_once_executed => 0
rows_fetched_from_server_normal => 0
rows_fetched_from_server_ps => 0
rows_buffered_from_client_normal => 0
rows_buffered_from_client_ps => 0
rows_fetched_from_client_normal_buffered => 0
rows_fetched_from_client_normal_unbuffered => 0
rows_fetched_from_client_ps_buffered => 0
rows_fetched_from_client_ps_unbuffered => 0
rows_fetched_from_client_ps_cursor => 0
rows_affected_normal => 0
rows_affected_ps => 0
rows_skipped_normal => 0
rows_skipped_ps => 0
copy_on_write_saved => 0
copy_on_write_performed => 0
command_buffer_too_small => 0
connect_success => 0
connect_failure => 0
connection_reused => 0
reconnect => 0
pconnect_success => 0
active_connections => 0
active_persistent_connections => 0
explicit_close => 0
implicit_close => 0
disconnect_close => 0
in_middle_of_command_close => 0
explicit_free_result => 0
implicit_free_result => 0
explicit_stmt_close => 0
implicit_stmt_close => 0
mem_emalloc_count => 0
mem_emalloc_amount => 0
mem_ecalloc_count => 0
mem_ecalloc_amount => 0
mem_erealloc_count => 0
mem_erealloc_amount => 0
mem_efree_count => 0
mem_efree_amount => 0
mem_malloc_count => 0
mem_malloc_amount => 0
mem_calloc_count => 0
mem_calloc_amount => 0
mem_realloc_count => 0
mem_realloc_amount => 0
mem_free_count => 0
mem_free_amount => 0
mem_estrndup_count => 0
mem_strndup_count => 0
mem_estndup_count => 0
mem_strdup_count => 0
proto_text_fetched_null => 0
proto_text_fetched_bit => 0
proto_text_fetched_tinyint => 0
proto_text_fetched_short => 0
proto_text_fetched_int24 => 0
proto_text_fetched_int => 0
proto_text_fetched_bigint => 0
proto_text_fetched_decimal => 0
proto_text_fetched_float => 0
proto_text_fetched_double => 0
proto_text_fetched_date => 0
proto_text_fetched_year => 0
proto_text_fetched_time => 0
proto_text_fetched_datetime => 0
proto_text_fetched_timestamp => 0
proto_text_fetched_string => 0
proto_text_fetched_blob => 0
proto_text_fetched_enum => 0
proto_text_fetched_set => 0
proto_text_fetched_geometry => 0
proto_text_fetched_other => 0
proto_binary_fetched_null => 0
proto_binary_fetched_bit => 0
proto_binary_fetched_tinyint => 0
proto_binary_fetched_short => 0
proto_binary_fetched_int24 => 0
proto_binary_fetched_int => 0
proto_binary_fetched_bigint => 0
proto_binary_fetched_decimal => 0
proto_binary_fetched_float => 0
proto_binary_fetched_double => 0
proto_binary_fetched_date => 0
proto_binary_fetched_year => 0
proto_binary_fetched_time => 0
proto_binary_fetched_datetime => 0
proto_binary_fetched_timestamp => 0
proto_binary_fetched_string => 0
proto_binary_fetched_blob => 0
proto_binary_fetched_enum => 0
proto_binary_fetched_set => 0
proto_binary_fetched_geometry => 0
proto_binary_fetched_other => 0
init_command_executed_count => 0
init_command_failed_count => 0
com_quit => 0
com_init_db => 0
com_query => 0
com_field_list => 0
com_create_db => 0
com_drop_db => 0
com_refresh => 0
com_shutdown => 0
com_statistics => 0
com_process_info => 0
com_connect => 0
com_process_kill => 0
com_debug => 0
com_ping => 0
com_time => 0
com_delayed_insert => 0
com_change_user => 0
com_binlog_dump => 0
com_table_dump => 0
com_connect_out => 0
com_register_slave => 0
com_stmt_prepare => 0
com_stmt_execute => 0
com_stmt_send_long_data => 0
com_stmt_close => 0
com_stmt_reset => 0
com_stmt_set_option => 0
com_stmt_fetch => 0
com_deamon => 0
bytes_received_real_data_normal => 0
bytes_received_real_data_ps => 0

openssl

OpenSSL support => enabled
OpenSSL Library Version => OpenSSL 0.9.8q 2 Dec 2010
OpenSSL Header Version => OpenSSL 0.9.8q 2 Dec 2010

pcre

PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 8.20 2011-10-21

Directive => Local Value => Master Value
pcre.backtrack_limit => 1000000 => 1000000
pcre.recursion_limit => 100000 => 100000

pdf

PDF Support => enabled
PDFlib GmbH Version => 7.0.4p4
PECL Version => 2.1.8
Revision => $Revision: 1.5.2.18 $

Reflection

Reflection => enabled
Version => $Revision: 313665 $

session

Session Support => enabled
Registered save handlers => files user 
Registered serializer handlers => php php_binary 

Directive => Local Value => Master Value
session.auto_start => Off => Off
session.bug_compat_42 => On => On
session.bug_compat_warn => On => On
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_httponly => Off => Off
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_secure => Off => Off
session.entropy_file => no value => no value
session.entropy_length => 0 => 0
session.gc_divisor => 100 => 100
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.hash_bits_per_character => 4 => 4
session.hash_function => 0 => 0
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => no value => no value
session.serialize_handler => php => php
session.use_cookies => On => On
session.use_only_cookies => On => On
session.use_trans_sid => 0 => 0

SPL

SPL support => enabled
Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException

standard

Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i 

Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
default_socket_timeout => 60 => 60
from => no value => no value
safe_mode_allowed_env_vars => PHP_ => PHP_
safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH
url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset=
user_agent => no value => no value

zlib

ZLib Support => enabled
Stream Wrapper support => compress.zlib://
Stream Filter support => zlib.inflate, zlib.deflate
Compiled Version => 1.2.5
Linked Version => 1.2.5

Directive => Local Value => Master Value
zlib.output_compression => Off => Off
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no value

Additional Modules

Module Name

Environment

Variable => Value
XCURSOR_PATH => /usr/local/kde4/share/icons::~/.icons:/usr/local/share/icons:/usr/local/share/pixmaps:/usr/local/lib/X11/icons
LANGUAGE =>  
KDE_MULTIHEAD => false
KDE_SESSION_VERSION => 4
KONSOLE_DBUS_SERVICE => :1.64
VENDOR => unknown
LOGNAME => root
MM_CHARSET => KOI8-R
WINDOWPATH => 9
GTK2_RC_FILES => /etc/gtk-2.0/gtkrc:/root/.gtkrc-2.0:/root/.kde4/share/config/gtkrc-2.0
KDE_FULL_SESSION => true
SHLVL => 2
DBUS_SESSION_BUS_ADDRESS => unix:path=/var/tmp/dbus-o22hI4nYVU,guid=cd0bffee705fb4a451fc841e000000f3
PATH => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
USER => root
LANG => ru_RU.KOI8-R
GTK_RC_FILES => /etc/gtk/gtkrc:/root/.gtkrc:/root/.kde4/share/config/gtkrc
MAIL => /var/mail/root
WINDOWID => 29360462
REMOTEHOST =>  
XDG_CONFIG_DIRS => /usr/local/kde4/etc/xdg::/etc/xdg:/usr/local/etc/xdg:/usr/local/etc/xdg/xfce4
XDG_DATA_DIRS => /usr/local/kde4/share::/usr/share:/usr/local/share:/usr/local/share/gnome
DISPLAY => :0
STRIGI_PLUGIN_PATH => :/usr/local/kde4/lib/strigi:/usr/local/lib/strigi
PWD => /root
XCURSOR_THEME => Oxygen_White
GS_LIB => /root/.fonts
OSTYPE => FreeBSD
COLORFGBG => 15;0
XAUTHORITY => /tmp/kde-root/xauth-0-_0
KDE_SESSION_UID => 0
HOST => 127.0.0.1
HOSTTYPE => FreeBSD
PAGER => more
TERM => xterm
PROFILEHOME =>  
BLOCKSIZE => K
MACHTYPE => unknown
SESSION_MANAGER => local/127.0.0.1:/tmp/.ICE-unix/4872
QT_PLUGIN_PATH => /root/.kde4/lib/kde4/plugins/:/usr/local/kde4/lib/kde4/plugins/
EDITOR => vi
KONSOLE_DBUS_SESSION => /Sessions/1
FTP_PASSIVE_MODE => YES
SHELL_SESSION_ID => 9226880663794bda8064d46e7327ce0c
HOME => /root
GROUP => wheel
SHELL => /bin/csh

PHP Variables

Variable => Value
_SERVER["XCURSOR_PATH"] => /usr/local/kde4/share/icons::~/.icons:/usr/local/share/icons:/usr/local/share/pixmaps:/usr/local/lib/X11/icons
_SERVER["LANGUAGE"] => 
_SERVER["KDE_MULTIHEAD"] => false
_SERVER["KDE_SESSION_VERSION"] => 4
_SERVER["KONSOLE_DBUS_SERVICE"] => :1.64
_SERVER["VENDOR"] => unknown
_SERVER["LOGNAME"] => root
_SERVER["MM_CHARSET"] => KOI8-R
_SERVER["WINDOWPATH"] => 9
_SERVER["GTK2_RC_FILES"] => /etc/gtk-2.0/gtkrc:/root/.gtkrc-2.0:/root/.kde4/share/config/gtkrc-2.0
_SERVER["KDE_FULL_SESSION"] => true
_SERVER["SHLVL"] => 2
_SERVER["DBUS_SESSION_BUS_ADDRESS"] => unix:path=/var/tmp/dbus-o22hI4nYVU,guid=cd0bffee705fb4a451fc841e000000f3
_SERVER["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
_SERVER["USER"] => root
_SERVER["LANG"] => ru_RU.KOI8-R
_SERVER["GTK_RC_FILES"] => /etc/gtk/gtkrc:/root/.gtkrc:/root/.kde4/share/config/gtkrc
_SERVER["MAIL"] => /var/mail/root
_SERVER["WINDOWID"] => 29360462
_SERVER["REMOTEHOST"] => 
_SERVER["XDG_CONFIG_DIRS"] => /usr/local/kde4/etc/xdg::/etc/xdg:/usr/local/etc/xdg:/usr/local/etc/xdg/xfce4
_SERVER["XDG_DATA_DIRS"] => /usr/local/kde4/share::/usr/share:/usr/local/share:/usr/local/share/gnome
_SERVER["DISPLAY"] => :0
_SERVER["STRIGI_PLUGIN_PATH"] => :/usr/local/kde4/lib/strigi:/usr/local/lib/strigi
_SERVER["PWD"] => /root
_SERVER["XCURSOR_THEME"] => Oxygen_White
_SERVER["GS_LIB"] => /root/.fonts
_SERVER["OSTYPE"] => FreeBSD
_SERVER["COLORFGBG"] => 15;0
_SERVER["XAUTHORITY"] => /tmp/kde-root/xauth-0-_0
_SERVER["KDE_SESSION_UID"] => 0
_SERVER["HOST"] => 127.0.0.1
_SERVER["HOSTTYPE"] => FreeBSD
_SERVER["PAGER"] => more
_SERVER["TERM"] => xterm
_SERVER["PROFILEHOME"] => 
_SERVER["BLOCKSIZE"] => K
_SERVER["MACHTYPE"] => unknown
_SERVER["SESSION_MANAGER"] => local/127.0.0.1:/tmp/.ICE-unix/4872
_SERVER["QT_PLUGIN_PATH"] => /root/.kde4/lib/kde4/plugins/:/usr/local/kde4/lib/kde4/plugins/
_SERVER["EDITOR"] => vi
_SERVER["KONSOLE_DBUS_SESSION"] => /Sessions/1
_SERVER["FTP_PASSIVE_MODE"] => YES
_SERVER["SHELL_SESSION_ID"] => 9226880663794bda8064d46e7327ce0c
_SERVER["HOME"] => /root
_SERVER["GROUP"] => wheel
_SERVER["SHELL"] => /bin/csh
_SERVER["PHP_SELF"] => 
_SERVER["SCRIPT_NAME"] => 
_SERVER["SCRIPT_FILENAME"] => 
_SERVER["PATH_TRANSLATED"] => 
_SERVER["DOCUMENT_ROOT"] => 
_SERVER["REQUEST_TIME"] => 1335342598
_SERVER["argv"] => Array
(
)

_SERVER["argc"] => 0
_ENV["XCURSOR_PATH"] => /usr/local/kde4/share/icons::~/.icons:/usr/local/share/icons:/usr/local/share/pixmaps:/usr/local/lib/X11/icons
_ENV["LANGUAGE"] => 
_ENV["KDE_MULTIHEAD"] => false
_ENV["KDE_SESSION_VERSION"] => 4
_ENV["KONSOLE_DBUS_SERVICE"] => :1.64
_ENV["VENDOR"] => unknown
_ENV["LOGNAME"] => root
_ENV["MM_CHARSET"] => KOI8-R
_ENV["WINDOWPATH"] => 9
_ENV["GTK2_RC_FILES"] => /etc/gtk-2.0/gtkrc:/root/.gtkrc-2.0:/root/.kde4/share/config/gtkrc-2.0
_ENV["KDE_FULL_SESSION"] => true
_ENV["SHLVL"] => 2
_ENV["DBUS_SESSION_BUS_ADDRESS"] => unix:path=/var/tmp/dbus-o22hI4nYVU,guid=cd0bffee705fb4a451fc841e000000f3
_ENV["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
_ENV["USER"] => root
_ENV["LANG"] => ru_RU.KOI8-R
_ENV["GTK_RC_FILES"] => /etc/gtk/gtkrc:/root/.gtkrc:/root/.kde4/share/config/gtkrc
_ENV["MAIL"] => /var/mail/root
_ENV["WINDOWID"] => 29360462
_ENV["REMOTEHOST"] => 
_ENV["XDG_CONFIG_DIRS"] => /usr/local/kde4/etc/xdg::/etc/xdg:/usr/local/etc/xdg:/usr/local/etc/xdg/xfce4
_ENV["XDG_DATA_DIRS"] => /usr/local/kde4/share::/usr/share:/usr/local/share:/usr/local/share/gnome
_ENV["DISPLAY"] => :0
_ENV["STRIGI_PLUGIN_PATH"] => :/usr/local/kde4/lib/strigi:/usr/local/lib/strigi
_ENV["PWD"] => /root
_ENV["XCURSOR_THEME"] => Oxygen_White
_ENV["GS_LIB"] => /root/.fonts
_ENV["OSTYPE"] => FreeBSD
_ENV["COLORFGBG"] => 15;0
_ENV["XAUTHORITY"] => /tmp/kde-root/xauth-0-_0
_ENV["KDE_SESSION_UID"] => 0
_ENV["HOST"] => 127.0.0.1
_ENV["HOSTTYPE"] => FreeBSD
_ENV["PAGER"] => more
_ENV["TERM"] => xterm
_ENV["PROFILEHOME"] => 
_ENV["BLOCKSIZE"] => K
_ENV["MACHTYPE"] => unknown
_ENV["SESSION_MANAGER"] => local/127.0.0.1:/tmp/.ICE-unix/4872
_ENV["QT_PLUGIN_PATH"] => /root/.kde4/lib/kde4/plugins/:/usr/local/kde4/lib/kde4/plugins/
_ENV["EDITOR"] => vi
_ENV["KONSOLE_DBUS_SESSION"] => /Sessions/1
_ENV["FTP_PASSIVE_MODE"] => YES
_ENV["SHELL_SESSION_ID"] => 9226880663794bda8064d46e7327ce0c
_ENV["HOME"] => /root
_ENV["GROUP"] => wheel
_ENV["SHELL"] => /bin/csh

PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file:  LICENSE

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact license@php.net.

therb1
ефрейтор
Сообщения: 53
Зарегистрирован: 2011-05-10 2:19:46

Re: Phpmyadmin глючит?

Непрочитанное сообщение therb1 » 2012-04-25 12:32:19

Я машину ребутал даже все равно ошибка

GhOsT_MZ
лейтенант
Сообщения: 662
Зарегистрирован: 2011-04-25 11:40:35
Контактная информация:

Re: Phpmyadmin глючит?

Непрочитанное сообщение GhOsT_MZ » 2012-04-25 12:42:22

Можно httpd.conf?

therb1
ефрейтор
Сообщения: 53
Зарегистрирован: 2011-05-10 2:19:46

Re: Phpmyadmin глючит?

Непрочитанное сообщение therb1 » 2012-04-25 20:52:38

Код: Выделить всё

#
# This is the main Apache HTTP server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "/var/log/foo_log"
# with ServerRoot set to "/usr/local" will be interpreted by the
# server as "/usr/local//var/log/foo_log".

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path.  If you point
# ServerRoot at a non-local disk, be sure to point the LockFile directive
# at a local disk.  If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
#
ServerRoot "/usr/local"

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80

#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule authn_file_module /usr/local/libexec/apache22/mod_authn_file.so
LoadModule authn_dbm_module /usr/local/libexec/apache22/mod_authn_dbm.so
LoadModule authn_anon_module /usr/local/libexec/apache22/mod_authn_anon.so
LoadModule authn_default_module /usr/local/libexec/apache22/mod_authn_default.so
LoadModule authn_alias_module /usr/local/libexec/apache22/mod_authn_alias.so
LoadModule authz_host_module /usr/local/libexec/apache22/mod_authz_host.so
LoadModule authz_groupfile_module /usr/local/libexec/apache22/mod_authz_groupfile.so
LoadModule authz_user_module /usr/local/libexec/apache22/mod_authz_user.so
LoadModule authz_dbm_module /usr/local/libexec/apache22/mod_authz_dbm.so
LoadModule authz_owner_module /usr/local/libexec/apache22/mod_authz_owner.so
LoadModule authz_default_module /usr/local/libexec/apache22/mod_authz_default.so
LoadModule auth_basic_module /usr/local/libexec/apache22/mod_auth_basic.so
LoadModule auth_digest_module /usr/local/libexec/apache22/mod_auth_digest.so
LoadModule file_cache_module /usr/local/libexec/apache22/mod_file_cache.so
LoadModule cache_module /usr/local/libexec/apache22/mod_cache.so
LoadModule disk_cache_module /usr/local/libexec/apache22/mod_disk_cache.so
LoadModule dumpio_module /usr/local/libexec/apache22/mod_dumpio.so
LoadModule reqtimeout_module /usr/local/libexec/apache22/mod_reqtimeout.so
LoadModule include_module /usr/local/libexec/apache22/mod_include.so
LoadModule filter_module /usr/local/libexec/apache22/mod_filter.so
LoadModule charset_lite_module /usr/local/libexec/apache22/mod_charset_lite.so
LoadModule deflate_module /usr/local/libexec/apache22/mod_deflate.so
LoadModule log_config_module /usr/local/libexec/apache22/mod_log_config.so
LoadModule logio_module /usr/local/libexec/apache22/mod_logio.so
LoadModule env_module /usr/local/libexec/apache22/mod_env.so
LoadModule mime_magic_module /usr/local/libexec/apache22/mod_mime_magic.so
LoadModule cern_meta_module /usr/local/libexec/apache22/mod_cern_meta.so
LoadModule expires_module /usr/local/libexec/apache22/mod_expires.so
LoadModule headers_module /usr/local/libexec/apache22/mod_headers.so
LoadModule usertrack_module /usr/local/libexec/apache22/mod_usertrack.so
LoadModule unique_id_module /usr/local/libexec/apache22/mod_unique_id.so
LoadModule setenvif_module /usr/local/libexec/apache22/mod_setenvif.so
LoadModule version_module /usr/local/libexec/apache22/mod_version.so
LoadModule ssl_module /usr/local/libexec/apache22/mod_ssl.so
LoadModule mime_module /usr/local/libexec/apache22/mod_mime.so
LoadModule dav_module /usr/local/libexec/apache22/mod_dav.so
LoadModule status_module /usr/local/libexec/apache22/mod_status.so
LoadModule autoindex_module /usr/local/libexec/apache22/mod_autoindex.so
LoadModule asis_module /usr/local/libexec/apache22/mod_asis.so
LoadModule info_module /usr/local/libexec/apache22/mod_info.so
LoadModule cgi_module /usr/local/libexec/apache22/mod_cgi.so
LoadModule dav_fs_module /usr/local/libexec/apache22/mod_dav_fs.so
LoadModule vhost_alias_module /usr/local/libexec/apache22/mod_vhost_alias.so
LoadModule negotiation_module /usr/local/libexec/apache22/mod_negotiation.so
LoadModule dir_module /usr/local/libexec/apache22/mod_dir.so
LoadModule imagemap_module /usr/local/libexec/apache22/mod_imagemap.so
LoadModule actions_module /usr/local/libexec/apache22/mod_actions.so
LoadModule speling_module /usr/local/libexec/apache22/mod_speling.so
LoadModule userdir_module /usr/local/libexec/apache22/mod_userdir.so
LoadModule alias_module /usr/local/libexec/apache22/mod_alias.so
LoadModule rewrite_module /usr/local/libexec/apache22/mod_rewrite.so
LoadModule php5_module /usr/local/libexec/apache22/libphp5.so

<IfModule !mpm_netware_module>
<IfModule !mpm_winnt_module>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User www
Group www

</IfModule>
</IfModule>

# 'Main' server configuration
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition.  These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
#
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#

#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed.  This address appears on some server-generated pages, such
# as error documents.  e.g. admin@your-domain.com
#
ServerAdmin you@example.com

#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName www.example.com:80

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/usr/local/www/apache22/data"

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/usr/local/www/apache22/data">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None

    #
    # Controls who can get stuff from this server.
   #
    Order allow,deny
    Allow from all

</Directory>

#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
        DirectoryIndex index.php index.html
</IfModule>

#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</FilesMatch>

#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here.  If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog "/var/log/httpd-error.log"

#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel warn

<IfModule log_config_module>
    #
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    #
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" com
    LogFormat "%h %l %u %t \"%r\" %>s %b" common

    <IfModule logio_module>
      # You need to enable mod_logio.c to use %I and %O
      LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I
    </IfModule>

    #
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here.  Contrariwise, if you *do*
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and *not* in this file.
    #
    #CustomLog "/var/log/httpd-access.log" common

    #
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #
    CustomLog "/var/log/httpd-access.log" combined
</IfModule>

<IfModule alias_module>
    #
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar

    #
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    #
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL.  You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.

    #
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client.  The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    #
    ScriptAlias /cgi-bin/ "/usr/local/www/apache22/cgi-bin/"

</IfModule>

<IfModule cgid_module>
    #
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #
    #Scriptsock /var/run/cgisock
</IfModule>

#
# "/usr/local/www/apache22/cgi-bin" should be changed to whatever your ScriptAli
# CGI directory exists, if you have that configured.
#
<Directory "/usr/local/www/apache22/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

#
# DefaultType: the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value.  If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
#
DefaultType text/plain

<IfModule mime_module>
    #
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    #
    TypesConfig etc/apache22/mime.types

    #
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #
    #AddType application/x-gzip .tgz
    #
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    #
 # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    #
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz

    #
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    #
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #
    #AddHandler cgi-script .cgi

    # For type maps (negotiated resources):
    #AddHandler type-map var

    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
</IfModule>

#
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type.  The MIMEMagicFile
# directive tells the module where the hint definitions are located.
#
#MIMEMagicFile etc/apache22/magic

#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#

#
# MaxRanges: Maximum number of Ranges in a request before
# returning the entire resource, or 0 for unlimited
# Default setting is to accept 200 Ranges
#MaxRanges 0

#
# EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall is used to deliver
# files.  This usually improves server performance, but must
# be turned off when serving from networked-mounted
# filesystems or if support for these functions is otherwise
# broken on your system.
#
#EnableMMAP off
#EnableSendfile off

# Supplemental configuration
#
# The configuration files in the etc/apache22/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server, or you may simply copy their contents here and change as
# necessary.

# Server-pool management (MPM specific)
#Include etc/apache22/extra/httpd-mpm.conf

# Multi-language error messages
#Include etc/apache22/extra/httpd-multilang-errordoc.conf

# Fancy directory listings
#Include etc/apache22/extra/httpd-autoindex.conf

# Language settings
#Include etc/apache22/extra/httpd-languages.conf

# User home directories
#Include etc/apache22/extra/httpd-userdir.conf

# Real-time info on requests and configuration
#Include etc/apache22/extra/httpd-info.conf

# Virtual hosts
#Include etc/apache22/extra/httpd-vhosts.conf

# Local access to the Apache HTTP Server Manual
#Include etc/apache22/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
#Include etc/apache22/extra/httpd-dav.conf

# Various default settings
#Include etc/apache22/extra/httpd-default.conf

# Secure (SSL/TLS) connections
#Include etc/apache22/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
#       starting without SSL on platforms with no /dev/random equivalent
#       but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>

Include etc/apache22/Includes/*.conf

#PMA

    Alias /pma/ "/usr/local/www/phpMyAdmin211/"

    <Directory "/usr/local/www/phpMyAdmin211/">
        Options none
        AllowOverride Limit

        Order Deny,Allow
        Deny from all
        Allow from all
    </Directory>

#PHP

<IfModule php5_module>
 AddType application/x-httpd-php .php
 AddType application/x-httpd-php-source .phps
 </IfModule>

GhOsT_MZ
лейтенант
Сообщения: 662
Зарегистрирован: 2011-04-25 11:40:35
Контактная информация:

Re: Phpmyadmin глючит?

Непрочитанное сообщение GhOsT_MZ » 2012-04-25 21:10:53

В блоке IfModule mime_module попробуйте добавить

Код: Выделить всё

AddType application/x-httpd-php .php .php3
В глобальной секции (путь подправить):

Код: Выделить всё

PHPIniDir "/usr/local/php/php.ini"

therb1
ефрейтор
Сообщения: 53
Зарегистрирован: 2011-05-10 2:19:46

Re: Phpmyadmin глючит?

Непрочитанное сообщение therb1 » 2012-04-26 0:46:01

ээээм вот тут проблема я понял что глобально протупил и у меня нет файла Если не сложно может кто нибудь рабочий .ini скинуть куданибудь а то я как почитал типа скопируйте recomended и все. А у меня только

Код: Выделить всё

php.ini-production и php.ini-development,
а рекомендед нету

GhOsT_MZ
лейтенант
Сообщения: 662
Зарегистрирован: 2011-04-25 11:40:35
Контактная информация:

Re: Phpmyadmin глючит?

Непрочитанное сообщение GhOsT_MZ » 2012-04-26 7:41:36

Скопируйте production, будет не плохо, ибо там как правило отключено отображение ошибок и другие не очень нужные в продакшене фишки.

therb1
ефрейтор
Сообщения: 53
Зарегистрирован: 2011-05-10 2:19:46

Re: Phpmyadmin глючит?

Непрочитанное сообщение therb1 » 2012-04-26 9:10:41

Уважаемый гост прости мне мою тупость но глобальная секция это где?

GhOsT_MZ
лейтенант
Сообщения: 662
Зарегистрирован: 2011-04-25 11:40:35
Контактная информация:

Re: Phpmyadmin глючит?

Непрочитанное сообщение GhOsT_MZ » 2012-04-26 9:14:23

Это гдето вначале, там где нету <IfModule mime_module>...</IfModule mime_module> и подобных, а там где Listen 80, LoadModule и так далее

therb1
ефрейтор
Сообщения: 53
Зарегистрирован: 2011-05-10 2:19:46

Re: Phpmyadmin глючит?

Непрочитанное сообщение therb1 » 2012-04-26 9:27:12

все равно та же проблема =(
сессион не видит пхп

therb1
ефрейтор
Сообщения: 53
Зарегистрирован: 2011-05-10 2:19:46

Re: Phpmyadmin глючит?

Непрочитанное сообщение therb1 » 2012-04-27 2:12:30

[РЕШЕНО]

Код: Выделить всё

pkg_delete -x php
потом удаляем то что он покажет что не удалил

Код: Выделить всё

cd /usr/ports/databases/phpmyadmin211/ && make install
И теперь меня апач попросил добавить в/boot/loader.conf строчку accf_http_load="YES"
все заработало!

Аватара пользователя
QweЯty
лейтенант
Сообщения: 796
Зарегистрирован: 2010-10-12 0:15:15
Откуда: Таганрог, Калининград
Контактная информация:

Re: Phpmyadmin глючит?

Непрочитанное сообщение QweЯty » 2012-04-27 10:01:16

Код: Выделить всё

accf_http_load="YES"
а для чего это?

у меня ниразу не просило такого...
Инженер не смотрит порно. Он ведет расчет бабы на усталость © Федор Сумкин
Изображение

therb1
ефрейтор
Сообщения: 53
Зарегистрирован: 2011-05-10 2:19:46

Re: Phpmyadmin глючит?

Непрочитанное сообщение therb1 » 2012-04-27 18:37:56

ну после установки апач стал выдавать такие сообщения

Код: Выделить всё

[Fri Mar 07 16:33:35 2008] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
пришлось вписывать