Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Vhost как запустить?

    Scheduled Pinned Locked Moved Russian
    3 Posts 2 Posters 3.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      killeo
      last edited by

      PF2 2.0-RC1 (i386) built on Wed Mar 2 17:47:38 EST 2011
      vhosts установлен из packages

      #/var/log/lighttpd.error.log

      2011-03-05 05 09:16:03: (mod_fastcgi.c.1104) the fastcgi-backend /usr/local/php5/php-cgi failed to start:
      2011-03-05 09:16:03: (mod_fastcgi.c.1108) child exited with status 2 /usr/local/php5/php-cgi
      2011-03-05 09:16:03: (mod_fastcgi.c.1111) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version.    If this is PHP on Gentoo, add 'fastcgi' to the USE flags.
      2011-03-05 09:16:03: (mod_fastcgi.c.1399) [ERROR]: spawning fcgi failed.
      2011-03-05 09:16:03: (server.c.938) Configuration of plugins failed. Going down.

      #/usr/local/php5/php-cgi

      Command not found.

      #find / | grep php-cgi

      DuckDuckGo is a search engine does not collect or share personal information.

      1 Reply Last reply Reply Quote 0
      • D
        deutsche
        last edited by

        php вообще нужен?

        http://ru.doc.pfsense.org/

        1 Reply Last reply Reply Quote 0
        • K
          killeo
          last edited by

          установил PHPService
          создал нов. хост
          запускаем:

          /usr/local/etc/rc.d/vhosts-http.sh start

          (plugin.c.131) Cannot load plugin mod_accesslog more than once, please fix your config (we may not accept such configs in future releases

          смотрим:

          ee /var/etc/vhosts-http.conf

          lighttpd configuration file

          use a it as base for lighttpd 1.0.0 and above

          ############ Options you really have to take care of ####################

          FreeBSD!

          server.event-handler            = "freebsd-kqueue"
          server.network-backend          = "writev"  ## Fixes 7.x upload issues

          modules to load

          server.modules =  (
                                            "mod_accesslog",  # < 1 mod_accesslog
                                            "mod_access",
                                            "mod_accesslog",  # <2 mod_accesslog ??? ???
                            "mod_fastcgi", "mod_cgi","mod_rewrite"
                                          )
          …

          стираю один "mod_accesslog", вхост начинает работать(до изменения созданного хоста или до создания нового)

          DuckDuckGo is a search engine does not collect or share personal information.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.