install cleanMarque as opcoes apropriadas para sua necessidade no perl 5.10.1_2:[ ] DEBUGGING Build with debugging support [ ] GDBM Build GDBM_File extension [X] PERL_MALLOC Use Perl malloc [X] PERL_64BITINT Use 64 bit integers (on i386) [ ] THREADS Build threaded perl[ ] MULTIPLICITY Use multiplicity [ ] SUIDPERL Build set-user-id suidperl binary [ ] SITECUSTOMIZE Run-time customization of @INC [X] USE_PERL Rewrite links in /usr/binMarque as opcoes apropriadas para sua necessidade no m4 1.4.14,1: [ ] LIBSIGSEGV Use libsigsegv for better diagnosticsMarque as opcoes apropriadas para sua necessidade no libiconv 1.13.1_1: [X] EXTRA_ENCODINGS Include extra character sets [ ] EXTRA_PATCHES Apply patches to fix CP932, add EUCJP-MSMarque as opcoes apropriadas para sua necessidade no apr-ipv6-devrandom-gdbm-db42 1.4.2.1.3.9_1:[X] THREADS Enable Threads in apr [ ] IPV6 Enable IPV6 Support in apr [X] BDB Enable Berkley BDB support in apr-util [X] GDBM Enable GNU dbm support in apr-util [ ] LDAP Enable LDAP support in apr-[X] MYSQL Enable MySQL suport in apr-[ ] NDBM Enable NDBM support in apr-[ ] PGSQL Enable Postgresql suport in apr-util [ ] SQLITE Enable SQLite3 support in apr-util [X] DEVRANDOM Use /dev/random or compatible in aprMarque as opcoes apropriadas para sua necessidade no python26 2.6.5_1: [X] THREADS Enable thread support [ ] HUGE_STACK_SIZE Use a larger thread stack [ ] SEM Use POSIX semaphores (experimental) [ ] PTH Use GNU Pth for threading/multiprocessing [X] UCS4 Use UCS4 for unicode support [X] PYMALLOC Use python's internal malloc [ ] IPV6 Enable IPv6 support [ ] FPECTL Enable floating point exception handlingDepois de realizado a instalacao, vamos habilitar para o Apache inicializar quando o FreeBSD for reiniciado. Editar o arquivo rc.conf.# ee /etc/rc.confAdicionando ao final do arquivo as linhas abaixo, depois salve o arquivo e saia.#Apache apache22_enable="YES" accf_data_load="YES" accf_http_load="YES"Agora adicione a linha abaixo no /etc/hosts: # ee /etc/hosts 127.0.0.1 "hostname" Depois edite o arquivo httpd.conf: # ee /usr/local/etc/apache22/httpd.confServername "hostname":80Agora vamos iniciar o Apache com o seguinte comando.# /usr/local/etc/rc.d/apache22 start# rehashVamos agora testar o Apache. Use um browser para conectar a:# http://"ip_do_servidor"Se tudo estiver certo sera exibido It works!.3- Instalando o PHPPara instalar o PHP acesse o diretorio:# cd /usr/ports/lang/php52Configure as opcoes de compilacao do PHP 5 com o comando: # make configMarque as opcoes apropriadas para sua necessidade no php52 5.2.14: [X] CLI Build CLI version [X] CGI Build CGI version [X] APACHE Build Apache module [ ] DEBUG Enable debug [X] SUHOSIN Enable Suhosin protection system (not for jails) [ ] MULTIBYTE Enable zend multibyte support [ ] IPV6 Enable ipv6 support [ ] MAILHEAD Enable mail header patch [ ] REDIRECT Enable force-cgi-redirect support (CGI only) [ ] DISCARD Enable discard-path support (CGI only) [X] FASTCGI Enable fastcgi support (CGI only) [ ] FPM Enable fastcgi process manager (CGI only)[X] PATHINFO Enable path-info-check support (CGI only)Acesse o diretorio das extensoes do PHP:# cd ../php52-extensions/Configure as opcoes de compilacao do php52-extensions com o comando: # make configMarque as opcoes apropriadas para sua necessidade no php52-extensions 1.3:[ ] BCMATH bc style precision math functions [X] BZ2 bzip2 library support[ ] CALENDAR calendar conversion support [X] CTYPE ctype functions [ ]