This tutorial will walk you every single step of the way through installing and setting up Este tutorial o guiará cada etapa do processo através de instalar e configurar WAMP Wamp (Windows, Apache, MySQL & PHP). (Windows, Apache, MySQL e PHP). With WAMP installed, you can run a web server (and things like WordPress, MediaWiki, and Com wamp instalado, você pode executar um servidor web (e coisas como WordPress, MediaWiki, e Jinzora ) on your Windows PC. ) Em seu PC.
Installing WAMP Instalando wamp
Configure WAMP & MySQL Configurar wamp & MySQL
Install and setup Fake Sendmail Instalar e configurar Sendmail Fake
Installing WAMP Instalando wamp
- To get started, head over to the Para começar, a cabeça durante o WAMP download page Wamp download página and save the .exe to your desktop. e salve o arquivo. exe para o seu desktop. Once the download has completed, run the installation file. Assim que tiver concluído o download, execute no arquivo de instalação. The first message you’ll see is a warning - if you have an older version of WAMP (1.x) installed, make sure to uninstall it first. A primeira mensagem que você verá é uma advertência - se você tiver uma versão mais antiga do wamp (1.x) instalado, certifique-se de desinstalá-lo primeiro. Otherwise click Yes to continue. Caso contrário clique em Sim para continuar.
- Click Next on the initial setup screen. Clique em Avançar com a configuração inicial tela.
- Review the License Agreement , select I accept the agreement and then click the Next button. Revisão do Acordo de Licença, selecione Aceito o acordo e, em seguida, clique no botão Avançar.
- It’sa good idea to leave the default installation directory alone (C:\wamp\) - but if you want to change it, now’s the time. É uma boa idéia para deixar a instalação padrão diretório sozinho (C: \ wamp \) - mas se você deseja mudá-lo, agora é a hora. Click Next to continue. Clique em Avançar para continuar.
- Decide if you want to have WAMP Quick Launch and/or Desktop icons, and click Next . Decida se você quiser ter wamp Quick Launch e / ou Desktop ícones, e clique em Avançar.
- Finally, click Install . Por último, clique em Install.
- The installation doesn’t take too long. A instalação não tomar demasiado tempo.
- Once it has completed, the setup phrase will begin. Uma vez que tenha concluído, será iniciada a configuração frase. If you have Firefox set as your default browser, WAMP will ask you if that’s the browser you want to use. Se você tiver estabelecido Firefox como seu navegador padrão, wamp irá perguntar-lhe se isso é o browser que pretende utilizar. Click Yes . Clique em Sim.
- At this point, if you have a software Firewall installed, it will probably pop up and warn you that Apache wants to accept incoming connections. Neste ponto, se você tem um software firewall instalado, ele irá provavelmente aparecerá e avisá-lo que pretende Apache recebe ligações. Depending on your specific Firewall the “button” to click may be different, but it will be something similar to Unblock . Dependendo do seu específicas Firewall o "botão" para clicar pode ser diferente, mas será algo semelhante ao Desbloq. Do not click “Keep Blocking”. Não clique em "Manter Bloqueio".
- Leave the SMTP: server set as localhost (more on this later) but do change the email address to yours. Deixe o SMTP: servidor definido como localhost (mais sobre isso mais tarde), mas fazer mudar o endereço de email para o seu. Click Next . Clique em Avançar.
- That’s it - you’re done! É isso aí - pronto! Make sure that there’sa check in the Launch WampServer 2 now box, and click Finish . Certifique-se que há um cheque no momento do lançamento WampServer 2 caixa e clique em Concluir.

click to enlarge clique para ampliar

click to enlarge clique para ampliar

click to enlarge clique para ampliar

click to enlarge clique para ampliar

click to enlarge clique para ampliar

click to enlarge clique para ampliar

click to enlarge clique para ampliar

click to enlarge clique para ampliar

click to enlarge clique para ampliar

click to enlarge clique para ampliar
Configure WAMP & MySQL Configurar wamp & MySQL
- In your System Tray you should now see a “WAMP” icon. Na bandeja do sistema você deverá ver agora uma "wamp" ícone. Click it, and select Put Online ( Note: if it says Put Offline ignore this step and skip to the next one). Clique nele, e selecione Coloque Online (Nota: se ele diz que Coloque Offline ignorar este passo e saltar para a próxima um).
- Open your browser (if it isn’t already) and enter the URL Abra seu browser (se ainda não estiver) e digite o URL http://localhost .
- The WAMP configuration page will load. A configuração wamp página irá carregar. From here you can access the tools phpMyAdmin, sqlitemanager etc. A partir daí você pode acessar as ferramentas phpMyAdmin, etc sqlitemanager
- Now you’ll want to set a MySQL password, because by default, WAMP doesn’t set one. Agora que você precisará definir uma senha MySQL, porque por padrão, wamp não configura um. Select phpMyAdmin from the WAMP configuration page. Selecione phpMyAdmin a partir da configuração wamp página. At the bottom of the phpMyAdmin screen you’ll see a message about MySQL running without a root password. Na parte inferior da tela phpMyAdmin você verá uma mensagem sobre o MySQL funcionando sem uma senha de root.
- To correct this, select the Privileges link. Para corrigir isso, selecione o link privilégios. In the User overview section, place a check in the box next to Root - Localhost (see image below) and then click the Edit Privileges button. Na secção Utilizadores panorâmica, coloque uma verificação na caixa ao lado de raiz - localhost (veja imagem abaixo) e, em seguida, clique no botão Editar Privilégios.
- Scroll down to the Change password section, and enter your password in both boxes. Role para a seção Mudar senha, e digite sua senha em ambas as caixas. Click Go to save the change. Clique em Ir para salvar a alteração.
- Make sure you get a message saying The password for 'root'@'localhost' was changed successfully . Tenha certeza que você receber uma mensagem dizendo A senha de 'root' @ 'localhost' foi alterado com sucesso.
- Minimize your browser window, and open up Windows Explorer (or whatever file manager you use in Windows). Minimizar a janela do navegador, e abrir o Windows Explorer (ou qualquer que seja a gerente de arquivo que você usa no Windows). Navigate to the C:\wamp\apps\phpmyadminx.xx\ folder. Navegue para o C: \ wamp \ apps \ phpmyadminx.xx \ pasta. Inside that folder, open up config.inc.php - ideally in an HTML or PHP editor, but Notepad will do if you don’t have an html/php/code editor. Dentro dessa pasta, abrir config.inc.php - idealmente em um editor HTML ou PHP, mas Notepad irá fazer se você não tem uma html / php / code editor.
- Search for the line $cfg['blowfish_secret'] = ''; - if you’re using notepad it might be easier to just search for the word blowfish Buscar a linha $ cfg [ 'blowfish_secret'] =''; - se você estiver usando o notepad, poderia ser mais fácil a busca por apenas a palavra blowfish
- Change the line $cfg['blowfish_secret'] = ''; to $cfg['blowfish_secret'] = 'mypassphrase'; - where mypassphrase is your own password - not the same one you specified for root in MySQL. Mude a linha $ cfg [ 'blowfish_secret'] =''; para US $ cfg [ 'blowfish_secret'] = 'mypassphrase'; - mypassphrase onde é a sua própria senha - e não a uma mesma raiz para que você especificou em MySQL.

Note: as you can see from the screenshots above and below, this is much easier to work with in an HTML/PHP editor than it is in Notepad. Nota: como podem ver pelas screenshots acima e abaixo, este é muito mais fácil de trabalhar com uma em HTML / PHP editor do que no Bloco de Notas.
- Now search for the phrase ['auth_type'] = 'config'; (again, if you’re using Notepad you might want to just search for auth_type ). Agora, a busca de uma frase [ 'auth_type'] = 'config'; (novamente, se você estiver usando Notepad você pode querer apenas busca de auth_type).
- Change config to cookie . Mudar config a cookie.
- Almost done. Quase pronto. Now search for $cfg['Servers'][$i]['password'] = ''; Replace the = ''; with = 'your-mysql-password'; - where your-mysql-password is the MySQL password you specified back in step #6 of this section. Agora procura de US $ cfg [ 'Servers'] [$ i] [' password '] =''; Substitua a =''; a =' mysql-seu-password '; - onde o seu-mysql-senha é a senha MySQL você especificou na etapa de volta # 6 da presente secção.
- Save the changes you’ve made and exit out of your editor. Salve as alterações que você fez e sair fora de seu editor. Click on the WAMP icon in your System Tray and select Restart All Services . Clique sobre a wamp ícone na bandeja do sistema e selecionar Reiniciar todos os serviços.
- Bring up your browser again, and refresh Traga o seu navegador novamente, e de refrescamento http://localhost . Select phpmyadmin again. Selecione phpMyAdmin novamente.
- This time you’ll be prompted to login. Esse tempo será solicitado a efetuar login. Use root as the Username and enter the password you specified in step #6 as the password. Ignore the error about mcrytp not being loaded - we’ll fix that in a minute. Use raiz do nome de usuário e digite a senha que você especificou na etapa # 6 como a senha. Ignorar o erro sobre mcrytp não ser carregado - nós vamos corrigir isso em um minuto.
- Return to the Privileges section, and this time place a check next to the user root with the host 127.0.0.1 (see screenshot below) and click the Edit Privileges button. Voltar para a seção Privilégios e, desta vez um lugar ao lado de verificar o usuário raiz com o host 127.0.0.1 (veja imagem abaixo) e clique no botão Editar Privilégios.
- Set the password to the same one you used for root previously (step #6) and click Go . Defina a senha para o mesmo que usou para uma raiz anteriormente (etapa n º 6) e clique em Ir para. Confirm the password was updated. Confirme a senha foi atualizada.
- Now select the user root in the production.mysql.com host section, and once again click the Edit Privileges button. Agora, selecione o usuário raiz na seção production.mysql.com acolhimento, e uma vez mais, clique no botão Editar Privilégios.
- Again set the password to the same one you’ve previously used for root. Novamente definir a senha para o mesmo que você tenha uma anteriormente utilizadas para raiz.
- And make sure it updates successfully. E certifique-se que ele atualizações com êxito.
- Click the WAMP icon in your System Tray, choose PHP from the menu, then PHP extensions , scroll down to php_mcrypt and select it. Wamp Clique no ícone na bandeja do sistema, escolher o PHP a partir do menu e, em seguida, PHP extensões, role para baixo para php_mcrypt e selecioná-lo.
- Refresh phpMyAdmin in your browser, and this time you’ll be prompted to login, but without the mcrypt error. Atualizar phpMyAdmin no seu browser, e desta vez será solicitado o login, mas sem a mcrypt erro.
- You’ve now set a password for MySQL, making it considerably more secure. Você agora definir uma senha para o MySQL, tornando-se consideravelmente mais segura.



click to enlarge clique para ampliar


click to enlarge clique para ampliar


click to enlarge clique para ampliar


click to enlarge clique para ampliar



click to enlarge clique para ampliar




click to enlarge clique para ampliar


click to enlarge clique para ampliar


click to enlarge clique para ampliar


click to enlarge clique para ampliar
Install and setup Fake Sendmail Instalar e configurar Sendmail Fake
- If you’re running Windows XP, 2000 or NT and have an outgoing (SMTP) mail server already installed on your PC, and can be accessed by localhost, you can skip all the steps in this section - your’e done! Se você estiver executando o Windows XP, 2000 ou NT e têm uma saída (SMTP) servidor de e-mail já instalado no seu PC, e pode ser acessado pelo localhost, você pode pular todos os passos nesta seção - your'e feito! If you’re using Vista (or don’t have a mail server installed) - keep reading. Se você estiver usando Vista (ou não tem instalado um servidor de e-mail) - manter a leitura.
- Because a number of services you may use require a working mail server, we’ll set up Fake Sendmail and use your ISPs outgoing mail server. Porque uma série de serviços que você pode utilizar exigem um trabalho servidor de e-mail, nós vamos criar Fake Sendmail e usar seu ISP cessante servidor de e-mail. An example of a service that requires working mail is WordPress - if you forget your password and want to reset it, WordPress will email it to you. Um exemplo de um serviço que requer trabalho correio é WordPress - se você esquecer sua senha e deseja redefinir-lo, irá WordPress e-mail para você. Without Fake Sendmail (or a local SMTP server) every time a service tries to send an email, it will fail. Sem Fake Sendmail (ou um servidor SMTP local) cada vez que um serviço tenta enviar um e-mail, ele irá falhar.
- Head over to Chefe durante a http://glob.com.au/sendmail/ and download sendmail.zip . e download sendmail.zip. If your ISP requires that you use SSL, make sure to download sendmail-SSL.zip as well. Se seu provedor requer que você usa SSL, certifique-se de fazer o download sendmail-SSL.zip também. Create the folder(s) C:\usr\lib\ and extract sendmail.zip (and sendmail-SSL.zip if you need it) into that folder. Crie a pasta (s) C: \ usr \ lib \ e extraia sendmail.zip (e sendmail-SSL.zip se lhe apetecer) em que pasta.
- Open up sendmail.ini in Notepad. Sendmail.ini abrir no Bloco de Notas. Scroll down to the smtp_server= section and change it to smtp_server=your.smtp.server , where your.smtp.server is your ISPs outgoing mail (SMTP) server. Role para a seção = smtp_server e alterá-lo para smtp_server = your.smtp.server, onde your.smtp.server é o seu ISP e-mails (SMTP) server. If you’re unsure of your outgoing mail server, you can Se não tiver certeza de sua saída servidor de e-mail, você pode try this list of ISP mail servers tente esta lista de servidores de correio ISP - if yours isn’t listed there, check w/ your ISP. -- Se o seu não está listado lá, verifique w / o seu provedor. In the smtp_port= section, make sure it’s set to 25 - assuming your ISP uses port 25 for SMTP (not all do - though mine does). No smtp_port = secção, certifique-se que é fixado para 25 - assumindo o seu provedor usa a porta 25 para SMTP (nem todos os fazer - apesar de mina faz).
- In the default_domain= section, add your ISPs domain. No default_domain = seção, adicionar o seu domínio ISP. For example, if you use Comcast as your ISP, add comcast.net . Por exemplo, se você usar Comcast como seu ISP, adicione comcast.net. Because I have service from Telus, my default domain is telus.net (as seen in the screenshot below). Porque tenho de serviço Telus, meu domínio está telus.net padrão (como mostra a imagem abaixo).
- If your SMTP server requires authentication, add your username to the end of the auth_username= field, and your password to the auth_password= field. Se o seu servidor SMTP requer autenticação, adicione o nome do usuário para o final da auth_username = campo, e sua senha para o auth_password = campo.
Note: you can use the Gmail SMTP server (see Nota: você pode usar o Gmail servidor SMTP (ver this FAQ este FAQ for details) - assuming you have a Gmail account. para mais detalhes) - considerando que você tenha uma conta do Gmail. However, during testing I noticed a considerable delay in receiving mail - up to 7 hours. No entanto, durante os testes vi um atraso considerável em receber e-mail - até às 7 horas. Using my ISPs mail server settings there was no delay at all. Usando o meu ISP configurações de servidor de e-mail não houve atraso em tudo.
- Save your changes to the file (sendmail.ini) and exit Notepad. Salve as alterações para o arquivo (sendmail.ini) e de saída Notepad. Now click the WAMP icon in your System Tray, select PHP and then click php.ini . Agora clique no ícone wamp na bandeja do sistema, selecione o PHP e, em seguida, clique em php.ini.
- Scroll down to the [ mail function ] section. Role para a [função mail] seção. Comment out each of the For Win 32 lines by adding a semicolon ( ; ) in front of each one (see screenshot below). Uncomment the line sendmail_path = by removing the semicolon ( ; ) in front of it. Comentário a cada uma das 32 linhas por Win Para adicionar um ponto e vírgula (;) na frente de cada um (veja imagem abaixo). Descomentando a linha sendmail_path = através da remoção o ponto e vírgula (;) na frente dela. Add "/usr/lib/sendmail.exe -t" to the end of the line, so that it reads: sendmail_path = "/usr/lib/sendmail.exe -t" (again, see the screenshot below). Adicionar "/ usr / lib / sendmail.exe-t" para o fim da linha, de forma que onde se lê: sendmail_path = "/ usr / lib / sendmail.exe-t" (mais uma vez, ver a tela abaixo).
- Save php.ini and exit out of Notepad (or whatever editor you used to edit php.ini). Salve e saia do php.ini Notepad (ou qualquer editor que você usou para editar php.ini). Click on the WAMP icon in your System Tray and select Restart All Services . Clique sobre a wamp ícone na bandeja do sistema e selecionar Reiniciar todos os serviços.
- Now any time one of your web services needs to send an email… Agora qualquer momento um de seus serviços web precisa de enviar um e-mail…
- it will go through! ele irá percorrer!
- That’s it - you’re done! É isso aí - pronto! You now have a fully functional Apache, MySQL and PHP system on your PC. Você tem agora um plenamente funcional Apache, MySQL e PHP sistema em seu PC.

click to enlarge clique para ampliar

click to enlarge clique para ampliar

click to enlarge clique para ampliar

click to enlarge clique para ampliar


click to enlarge clique para ampliar





















{ 4 comments… read them below or (4 comentários… lê-los ou abaixo add one adicionar um } )
This indeed made a great contribution for me as a novice user of the wamp server. Este facto fez uma grande contribuição para mim como um usuário novato do wamp servidor. Thank you very much Muito obrigado
Thank you very much! Muito obrigado! Out of all the tutorials I found out there, this was by far the best AND easiest! De todos os tutoriais que encontrei lá fora, este foi de longe a melhor e mais fácil! Kudos and Thanks! Kudos e Obrigado!
XAMPP is much easier to be honest. XAMPP é muito mais fácil de ser honesto.
I’d look into it. Eu analisá-la.
Really great help dear! Caro realmente grande ajuda!
Thanks a lot…!!!!!!!! Thanks a lot… !!!!!!!!
Leave a Comment Deixe um comentário