Jump to content

Search the Community

Showing results for tags 'apache24'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Forum
    • Anúncios
    • Apresentacoes
    • F.A.Q's & Guias
    • Arquivos
  • Hospedagem de imagens
  • Member special
  • Hardware
    • Tutoriais
    • Duvidas
  • Software
    • Programas
    • Guias & Tutoriais
    • Problemas & Duvidas
    • Segurança e Desempenho
  • Sistemas Operativos
    • FreeBSD
    • Windows
    • Linux
    • Android
  • Programação
    • PHP
    • C & C++
    • SQL
    • C# & .NET & VisualBasic
    • Python
    • Outros
  • Metin2
    • Geral
    • Servidores Privado
    • Tutoriais
    • Serverfiles
    • Quests
    • Cliente
    • Ferramentas/Software
    • 3D & 2D
    • Download
    • Duvidas & Problemas & Pedidos
  • Websites
    • Design
    • Codificado
  • Other Games
    • Dota2
    • League Of Legends
    • Payday 2
  • Design
    • Galeria
    • Tutoriais
    • Pedidos
    • Ferramentas/Diversos
  • Espaço web
    • Webmaster
    • Duvidas
    • Servidores
  • Classificados
    • Trocas e Vendas
    • Outros
  • Tema Livre
    • Filmes & Series
    • Anime
    • Mundo Livre
    • Outros
    • Youtube
  • Inno's Changelog
  • Zu Online - Tournament server's Topics

Product Groups

  • Patchers
  • Advertisements
  • VPS hosting
  • Security
  • Dedicated hosting

Categories

  • Metin2
    • Quests
    • Clientes
    • Serverfiles
    • Tools
    • Other Downloads
    • Weapons & Armors
    • NPC & MOB
  • Software
  • Operating Systems
    • Windows
  • Member special
  • Honor Room

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Jabber


AIM


ICQ


Yahoo! Messenger


Skype


Facebook


Twitter

Found 2 results

  1. Tierri Lopes

    Apache24 & PHP 7.1

    Executar os seguintes comandos, por ordem: pkg update && pkg upgrade -y pkg install -y apache24 php71 php71-extensions mod_php71 php71-mbstring php71-mcrypt php71-zlib php71-curl php71-gd php71-json php71-pdo_mysql php71-mysqli sysrc apache24_enable="yes" Ir até ao ficheiro: /usr/local/etc/apache24/httpd.conf Onde diz: #ServerName www.example.com:80 Mudar para: ServerName IP_SERVIDOR Exemplo: ServerName 123.123.123.123 Onde está: <IfModule dir_module> DirectoryIndex index.html </IfModule> Mudar para: <IfModule dir_module> DirectoryIndex index.php index.html index.htm </IfModule> Onde está (para que ficheiros .htaccess funcionem e para ocultar visualização de pastas vazias): DocumentRoot "/usr/local/www/apache24/data" <Directory "/usr/local/www/apache24/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.4/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: # AllowOverride FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Require all granted </Directory> Mudar para: DocumentRoot "/usr/local/www/apache24/data" <Directory "/usr/local/www/apache24/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.4/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: # AllowOverride FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # Require all granted </Directory> Para terminar, adicionar o seguinte no final do ficheiro: <FilesMatch "\.php$"> SetHandler application/x-httpd-php </FilesMatch> <FilesMatch "\.phps$"> SetHandler application/x-httpd-php-source </FilesMatch> Para as mudanças terem efeito, reiniciar o servidor apache com o comando: service apache24 restart
  2. Tierri Lopes

    [Freebsd] Instalar Apache24

    1- Fazer login no servidor (através do PuTTy ou semelhantes) 2- Correr os seguintes comandos (por ordem): pkg update pkg upgrade pkg install -y apache24 3 - Adicionar o apache24 como arranque automático: sysrc apache24_enable="YES" Lista de comandos para ligar, desligar e reiniciar respectivamente o apache: service apache24 start service apache24 stop service apache24 restart Localização de ficheiros do site: /usr/local/www/apache24/data Localização de ficheiros de configuração (httpd.conf): /usr/local/etc/apache24
×

Important Information

By using this site, you agree to our Terms of Use.