Страница 2 из 4

Re: Ускоряем Алису

Добавлено: Ср апр 02, 2014 1:22 pm
zlayaptichka
Urbas81 писал(а):
BlackWarrior писал(а):1. httpd.conf это конфиг apache, его в папку apache\conf
2. службы ставим в автозапуск через панель управления\администрирование\службы
3. Server2go закомментирован (rem)
4. mysql\bin\mysqld-nt.exe --install и после этого он в службах добавится
mysql установился, но не запускается, ошибка 1067, гуглил, не понял как решить.
http://forums.mysql.com/read.php?11,11388,11388
https://dev.mysql.com/doc/refman/5.5/en ... id_default
http://mydailytech.com/how-to-fix-mysql-error-1067/
https://stackoverflow.com/questions/415 ... tart-mysql
https://duckduckgo.com/?q=error+1067+mysql&t=canonical

Re: Ускоряем Алису

Добавлено: Ср апр 02, 2014 1:26 pm
Amarok
попробуй, кстати, \ заменить на /

Re: Ускоряем Алису

Добавлено: Ср апр 02, 2014 1:29 pm
Urbas81
BlackWarrior писал(а):попробуй, кстати, \ заменить на /
в каком месте?

Re: Ускоряем Алису

Добавлено: Ср апр 02, 2014 1:30 pm
Amarok
в путях в php.ini и my.ini

Re: Ускоряем Алису

Добавлено: Ср апр 02, 2014 1:33 pm
zlayaptichka
Здравствуйте.
Поставил ваш конфиг на nginx (использую Raspberry Pi model A - 256 Мб оперативки)
, зашёл в админку, и получил такую ошибку:

Изображение

Также ошибка проявляется и с моим старым конфигом - http://smartliving.ru/forum/viewtopic.p ... 748#p10689

Лечится удалением куки prj, но каждый раз удалять - лень.
Что делать?

Re: Ускоряем Алису

Добавлено: Ср апр 02, 2014 1:36 pm
Amarok
может кэш почистить? но у меня под winXP такого непроисходит

Re: Ускоряем Алису

Добавлено: Ср апр 02, 2014 1:42 pm
zlayaptichka
BlackWarrior писал(а):может кэш почистить? но у меня под winXP такого непроисходит
Почистил. Не помогает.

Помогает только удаление куки prj.
После закрытия сессии опять такая ошибка.

Re: Ускоряем Алису

Добавлено: Ср апр 02, 2014 1:44 pm
zlayaptichka
На всякий случай выложу конфиги nginx

/etc/nginx/nginx.conf:

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

user www-data;
worker_processes 4;
pid /var/run/nginx.pid;

events {
    worker_connections 768;
    # multi_accept on;
}

http {

    ##
    # Basic Settings
    ##

    sendfile on;
    tcp_nopush on;
    tcp_nodelay on;
    #keepalive_timeout 65;
    types_hash_max_size 2048;
    server_tokens off;
    #client_body_timeout   120;
    #client_header_timeout 120;
    keepalive_timeout     125;
    #send_timeout          120;

    client_header_timeout 10m;
    client_body_timeout 10m;
    send_timeout 10m;

    fastcgi_read_timeout 600;
    fastcgi_send_timeout 600;


    # server_names_hash_bucket_size 64;
    # server_name_in_redirect off;

    include /etc/nginx/mime.types;
    default_type application/octet-stream;

    ##
    # Logging Settings
    ##

    access_log off;
    error_log /var/log/nginx/error.log;

    ##
    # Gzip Settings
    ##

    gzip off;
    gzip_disable "msie6";

    # gzip_vary on;
    # gzip_proxied any;
    # gzip_comp_level 6;
    # gzip_buffers 16 8k;
    # gzip_http_version 1.1;
    # gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

    ##
    # nginx-naxsi config
    ##
    # Uncomment it if you installed nginx-naxsi
    ##

    #include /etc/nginx/naxsi_core.rules;

    ##
    # nginx-passenger config
    ##
    # Uncomment it if you installed nginx-passenger
    ##
    
    #passenger_root /usr;
    #passenger_ruby /usr/bin/ruby;

    ##
    # Virtual Host Configs
    ##

    include /etc/nginx/conf.d/*.conf;
    include /etc/nginx/sites-enabled/*;
}
/etc/nginx/sites-enabled/default:

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

server {
    listen   80; ## listen for ipv4; this line is default and implied
    #listen   [::]:80 default_server ipv6only=on; ## listen for ipv6

    root /var/www;
    index index.html index.htm index.php default.html;

    # Make site accessible from http://localhost/
    server_name 0.0.0.0;

charset utf-8;

location ~ index\.html$ {
}

location  fckeditor {
}

location ~ banner\.html$ {
}

location  flashcoms {
}

location  google {
}

location  fck {
}

    location / {
        # First attempt to serve request as file, then
        # as directory, then fall back to displaying a 404.
        index  index.html index.htm index.php;
        # Uncomment to enable naxsi on this location
        # include /etc/nginx/naxsi.rules
      rewrite pda$ /popup/pda.html redirect;
  if (!-e $request_filename){
    rewrite ^(.*)$ /nf.php;
  }
  if (!-e $request_filename){
    rewrite ^(.*)$ /nf.php;
  }

    }

location /config.php {
  deny all;
}

location /debmes.txt {
  deny all;
}



    # Only for nginx-naxsi used with nginx-naxsi-ui : process denied requests
    #location /RequestDenied {
    #    proxy_pass http://127.0.0.1:8080;    
    #}

    error_page 404 /index.php;

    # redirect server error pages to the static page /50x.html
    #
    #error_page 500 502 503 504 /50x.html;
    #location = /50x.html {
    #    root /usr/share/nginx/www;
    #}

    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    #
    location ~ \.php$ {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_index index.php;
        include fastcgi_params;
    }

    # deny access to .htaccess files, if Apache's document root
    # concurs with nginx's one
    #
    location ~ /\.ht {
        deny all;
    }
}

Re: Ускоряем Алису

Добавлено: Ср апр 02, 2014 1:48 pm
krasnov
BlackWarrior писал(а):Живёт моя Алиса на старом ноутбуке Asus A3A:
....
Голосом моей девочки выступает движок Tatyana от Ivona.
....
Можете описать как подключить движок и приложить пример mp3? Может ссылку где почитать.

Re: Ускоряем Алису

Добавлено: Ср апр 02, 2014 1:51 pm
Amarok