26

Re: Не корректное отображение phpmyadmin 4.0.8

Вот конфиги
Апач:

ServerRoot "D:/Apache/Apache2.2"
PHPIniDir "D:/Apache/php"

#Listen 12.34.56.78:80
Listen 80

# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule authn_alias_module modules/mod_authn_alias.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
#LoadModule authn_dbd_module modules/mod_authn_dbd.so
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authn_file_module modules/mod_authn_file.so
#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
#LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
#LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule cache_module modules/mod_cache.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
#LoadModule charset_lite_module modules/mod_charset_lite.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule dav_lock_module modules/mod_dav_lock.so
#LoadModule dbd_module modules/mod_dbd.so
#LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
#LoadModule disk_cache_module modules/mod_disk_cache.so
#LoadModule dumpio_module modules/mod_dumpio.so
LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule ext_filter_module modules/mod_ext_filter.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule filter_module modules/mod_filter.so
#LoadModule headers_module modules/mod_headers.so
#LoadModule ident_module modules/mod_ident.so
#LoadModule imagemap_module modules/mod_imagemap.so
LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
LoadModule isapi_module modules/mod_isapi.so
#LoadModule ldap_module modules/mod_ldap.so
#LoadModule logio_module modules/mod_logio.so
LoadModule log_config_module modules/mod_log_config.so
#LoadModule log_forensic_module modules/mod_log_forensic.so
#LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
#LoadModule reqtimeout_module modules/mod_reqtimeout.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule ssl_module modules/mod_ssl.so
LoadModule status_module modules/mod_status.so
#LoadModule substitute_module modules/mod_substitute.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule version_module modules/mod_version.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule php5_module "D:/Apache/php/php5apache2_2.dll"


<IfModule !mpm_netware_module>
    <IfModule !mpm_winnt_module>
        User daemon
        Group daemon
    </IfModule>
</IfModule>

ServerName localhost
ServerAdmin oloolo@mail.ru

DocumentRoot "D:/Apache/Apache2.2/htdocs"

<Directory />
  Options Includes Indexes FollowSymLinks MultiViews ExecCGI
  AllowOverride All
  Order allow,deny
  Allow from all
</Directory>


<Directory "D:/Apache/Apache2.2/htdocs">
   Options Includes Indexes FollowSymLinks MultiViews ExecCGI
#   Options Indexes FollowSymLinks
   AllowOverride All
   Order allow,deny
   Allow from all
</Directory>


<IfModule dir_module>
    AddHandler cgi-script .cgi .pl .py 
    AddType application/x-httpd-php-source .phps
    AddType application/x-httpd-php .php .php5 .php4 .php3 .phtml .phpt
    DirectoryIndex index.php index.html index.htm index.shtm index.shtml index.pl index.cgi default.htm default.html default.php
</IfModule>

<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</FilesMatch>


ErrorLog "logs/error.log"

LogLevel warn

<IfModule log_config_module>
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common

    <IfModule logio_module>
      LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    CustomLog "logs/access.log" common
    #CustomLog "logs/access.log" combined
</IfModule>

<IfModule alias_module>
    ScriptAlias /cgi-bin/ "D:/Apache/Apache2.2/cgi-bin"
    Alias /pma "D:/Apache/Apache2.2/htdocs/phpMyAdmin"
</IfModule>

<IfModule cgid_module>
    #Scriptsock logs/cgisock
</IfModule>

<Directory "D:/Apache/Apache2.2/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

DefaultType text/plain

<IfModule mime_module>

    TypesConfig conf/mime.types
    #AddType application/x-gzip .tgz
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz

    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz

    AddHandler cgi-script .cgi .pl .py
    #AddHandler type-map var
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
</IfModule>

#MIMEMagicFile conf/magic
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.freedream.net/subscription_info.html

#MaxRanges unlimited

#EnableMMAP off
#EnableSendfile off

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

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

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

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

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

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

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

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

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

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

# Secure (SSL/TLS) connections
#Include conf/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>

AddDefaultCharset UTF-8


<Directory "D:/Apache/php">
  Options ExecCGI
</Directory>

ScriptAlias "/php_dir/" "D:/Apache/php/"
Action application/x-httpd-php "/php_dir/php-cgi.exe"

РНР:

engine = On

zend.ze1_compatibility_mode = Off

short_open_tag = On

asp_tags = Off

precision    =  14

y2k_compliance = On

output_buffering = 4096

include_path = ".;D:/Apache/PHP/pear"

zlib.output_compression = Off

implicit_flush = Off

unserialize_callback_func=

serialize_precision = 100

allow_call_time_pass_reference = On

safe_mode = Off
safe_mode_gid = Off
safe_mode_include_dir =
safe_mode_exec_dir =
safe_mode_allowed_env_vars = PHP_
safe_mode_protected_env_vars = LD_LIBRARY_PATH

disable_functions =
disable_classes =

expose_php = On

max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_input_time = 60    ; Maximum amount of time each script may spend parsing request data
memory_limit = 128M      ; Maximum amount of memory a script may consume (128MB)

error_reporting  =  E_ALL & ~E_NOTICE

display_errors = On
display_startup_errors = On

log_errors = On
log_errors_max_len = 1024

ignore_repeated_errors = Off
ignore_repeated_source = Off

report_memleaks = On

track_errors = Off

variables_order = "EGPCS"

register_globals = On

gpc_order = "GPC"

register_long_arrays = On
register_argc_argv = Off

auto_globals_jit = On

post_max_size = 16M

magic_quotes_gpc = On
magic_quotes_runtime = Off
magic_quotes_sybase = Off

auto_prepend_file =
auto_append_file =

default_mimetype = "text/html"

doc_root =
user_dir =


error_log = "D:\Apache\Apache2.2\logs\php_errors.log"
extension_dir ="D:/Apache/PHP/ext"

enable_dl = On


file_uploads = On

upload_max_filesize = 16M

allow_url_fopen = On

allow_url_include = Off

default_socket_timeout = 60
upload_tmp_dir="D:/Apache/PHP/temp"
cgi.force_redirect=0
cgi.fix_pathinfo=1

define_syslog_variables  = Off

SMTP = localhost
smtp_port = 25
sendmail_from = your@email.name

sql.safe_mode = Off

odbc.allow_persistent = On
odbc.check_persistent = On
odbc.max_persistent = -1
odbc.max_links = -1
odbc.defaultlrl = 4096
odbc.defaultbinmode = 1

mysql.allow_persistent = On
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port = 3306
mysql.default_socket =
mysql.default_host = localhost
mysql.default_user =
mysql.default_password =
mysql.connect_timeout = 60
mysql.trace_mode = Off
mysqli.max_links = -1
mysqli.default_port = 3306
mysqli.default_socket =
mysqli.default_host = localhost
mysqli.default_user =
mysqli.default_pw =
mysqli.reconnect = Off
msql.allow_persistent = On
msql.max_persistent = -1
msql.max_links = -1

pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0

sybase.allow_persistent = On
sybase.max_persistent = -1
sybase.max_links = -1
sybase.min_error_severity = 10
sybase.min_message_severity = 10
sybase.compatability_mode = Off
sybct.allow_persistent = On
sybct.max_persistent = -1
sybct.max_links = -1
sybct.min_server_severity = 10
sybct.min_client_severity = 10

bcmath.scale = 0

ifx.default_host =
ifx.default_user =
ifx.default_password =
ifx.allow_persistent = On
ifx.max_persistent = -1
ifx.max_links = -1
ifx.textasvarchar = 0
ifx.byteasvarchar = 0
ifx.charasvarchar = 0
ifx.blobinfile = 0
ifx.nullformat = 0

session.save_path="D:/Apache/PHP/sessiondata"
session.save_handler = files
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly = 
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor     = 100
session.gc_maxlifetime = 1440
session.bug_compat_42 = 0
session.bug_compat_warn = 1
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 1
session.hash_function = 0
session.hash_bits_per_character = 5

url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"

mssql.allow_persistent = On
mssql.max_persistent = -1
mssql.max_links = -1
mssql.min_error_severity = 10
mssql.min_message_severity = 10
mssql.compatability_mode = Off
mssql.secure_connection = Off

tidy.clean_output = Off

soap.wsdl_cache_enabled=1
soap.wsdl_cache_dir="/tmp"
soap.wsdl_cache_ttl=86400

[APC]
;apc.enabled = 1
;apc.shm_segments = 1
;apc.shm_size = 128M
;apc.optimization = 1
;apc.num_files_hint = 512
;apc.user_entries_hint = 1024
;apc.ttl = 600
;apc.user_ttl = 0
;apc.gc_ttl = 600
;apc.cache_by_default = 1
;;apc.filters = "apc/.php$"
;apc.slam_defense = 0
;apc.use_request_time = 1
;apc.mmap_file_mask = "/temp/apc/"
;;OR apc.mmap_file_mask = /dev/zero
;apc.file_update_protection = 2
;apc.enable_cli = 0
;apc.max_file_size = 10M
;apc.stat = 1
;apc.write_lock = 1
;apc.report_autofilter = 0
;apc.include_once_override = 0
;apc.rfc1867 = 0
;apc.rfc1867_prefix = "upload_"
;apc.rfc1867_name = "APC_UPLOAD_PROGRESS"
;apc.rfc1867_freq = 0
;apc.localcache = 1
;apc.localcache.size = 4000
;apc.coredump_unmap = 0
;apc.stat_ctime = 0


extension=php_bz2.dll
extension=php_curl.dll
extension=php_dba.dll
extension=php_dbase.dll
;extension=php_exif.dll
extension=php_fdf.dll
extension=php_gd2.dll
extension=php_gettext.dll
extension=php_gmp.dll
extension=php_imap.dll
extension=php_interbase.dll
extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_mcrypt.dll
extension=php_mhash.dll
extension=php_mime_magic.dll
extension=php_ming.dll
extension=php_msql.dll
extension=php_mssql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
extension=php_openssl.dll
extension=php_pdo.dll
extension=php_pdo_firebird.dll
extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_oci8.dll
extension=php_pdo_odbc.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pgsql.dll
;extension=php_pspell.dll
extension=php_shmop.dll
;extension=php_snmp.dll
extension=php_soap.dll
extension=php_sockets.dll
extension=php_sqlite.dll
;extension=php_sybase_ct.dll
extension=php_tidy.dll
extension=php_xmlrpc.dll
extension=php_xsl.dll
extension=php_zip.dll
;extension=php_apc.dll
extension=php_apd.dll
extension=php_bcompiler.dll
extension=php_bitset.dll
extension=php_blenc.dll
extension=php_bz2_filter.dll
extension=php_classkit.dll
;extension=php_cpdf.dll
extension=php_crack.dll
extension=php_cvsclient.dll
extension=php_db.dll
extension=php_dbx.dll
extension=php_dio.dll
extension=php_docblock.dll
extension=php_domxml.dll
extension=php_event.dll
extension=php_fileinfo.dll
extension=php_filepro.dll
extension=php_fribidi.dll
extension=php_gopher.dll
extension=php_htscanner.dll
extension=php_http.dll
extension=php_hyperwave.dll
;extension=php_ibm_db2.dll
extension=php_id3.dll
;extension=php_ifx.dll
;extension=php_iisfunc.dll
;extension=php_imagick.dll
;extension=php_ingres.dll
extension=php_ixsfunc.dll
extension=php_java.dll
extension=php_lzf.dll
extension=php_mailparse.dll
;extension=php_maxdb.dll
extension=php_mcrypt_filter.dll
extension=php_memcache.dll
;extension=php_netools.dll
extension=php_ntuser.dll
extension=php_oggvorbis.dll
;extension=php_operator.dll
;extension=php_oracle.dll
extension=php_parsekit.dll
extension=php_pdf.dll
;extension=php_pdo_ibm.dll
extension=php_phar.dll
extension=php_phpdoc.dll
extension=php_pop3.dll
extension=php_printer.dll
extension=php_radius.dll
extension=php_rar.dll
extension=php_runkit.dll
;extension=php_sam.dll
extension=php_sdo.dll
extension=php_smtp.dll
extension=php_ssh2.dll
extension=php_stats.dll
extension=php_stem.dll
;extension=php_svn.dll
extension=php_swish.dll
;extension=php_threads.dll
extension=php_timezonedb.dll
extension=php_translit.dll
extension=php_uploadprogress.dll
extension=php_win32ps.dll
extension=php_win32scheduler.dll
extension=php_win32service.dll
extension=php_win32std.dll
;extension=php_yaz.dll
extension=php_zlib_filter.dll

Если что то напортачил в конфигах подскажите если в низ что то не так

27

Re: Не корректное отображение phpmyadmin 4.0.8

Попробуйте это убрать и перезагрузить Apache.

<Directory "D:/Apache/php">
  Options ExecCGI
</Directory>

ScriptAlias "/php_dir/" "D:/Apache/php/"
Action application/x-httpd-php "/php_dir/php-cgi.exe"

28

Re: Не корректное отображение phpmyadmin 4.0.8

убрал. рнр работает, стили так и не загружаются в phpmyadmin, но есть нюанс css работает. проверил на таком вот примерчике:
main.php

<html>
<head>
<title>Название сайта</title>
<link rel="stylesheet" href="main.css" type="text/css"/>
</head>
<body>
<p><span class="inv">верхом на лошади</span></p>
</body>
</html> 

main.css

.inv                       
{background: black;        
color: red;                
font-weight: bold;         
font-family: arial }

И вот не понятно почему в целом стили работают но не в phpmyadmin ????

29

Re: Не корректное отображение phpmyadmin 4.0.8

может быть я не все ошибки включил в конфигах? я просто не знаю что еще надо включить что бы ошибки хоть какие то ловить