{"id":302,"date":"2020-08-12T21:57:34","date_gmt":"2020-08-13T00:57:34","guid":{"rendered":"http:\/\/hackerzone.com.br\/blog\/?p=302"},"modified":"2022-08-13T00:03:53","modified_gmt":"2022-08-13T03:03:53","slug":"corrigir-erro-de-porta-no-xampp-2020","status":"publish","type":"post","link":"http:\/\/hackerzone.com.br\/blog\/corrigir-erro-de-porta-no-xampp-2020\/","title":{"rendered":"Corrigir erro de porta no Xampp (2020)"},"content":{"rendered":"<p>Recentemente tive um problema com o Xampp para Windows 10 ao tentar iniciar o Apache, procurei por v\u00e1rias alternativas na internet e nada resolvia, finalmente consegui depois de muito procurar, vou inform\u00e1-los como resolver este problema:<\/p>\n<p>Xampp vers\u00e3o 7.4.8<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n[Apache] \tError: Apache shutdown unexpectedly.\r\n[Apache] \tThis may be due to a blocked port, missing dependencies,\r\n[Apache] \timproper privileges, a crash, or a shutdown by another method.\r\n[Apache] \tPress the Logs button to view error logs and check\r\n[Apache] \tthe Windows Event Viewer for more clues\r\n[Apache] \tIf you need more help, copy and post this\r\n[Apache] \tentire log window on the forums\r\n<\/pre>\n<h3>Para resolver v\u00e1 em:<\/h3>\n<p>Painel de Controle -> Sistema e Seguran\u00e7a -> Ferramentas Administrativas -> Visualizador de Eventos -> Logs do Windows -> Aplicativo -> Erro<br \/>\n<strong>O meu retornou o seguinte erro:<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nN\u00e3o \u00e9 poss\u00edvel localizar a descri\u00e7\u00e3o da Identifica\u00e7\u00e3o de Evento 4 na origem &quot;PHP-7.4.8&quot;. O componente que gera esse evento n\u00e3o est\u00e1 instalado no computador local ou a instala\u00e7\u00e3o est\u00e1 danificada. Voc\u00ea pode instalar ou reparar o componente no computador local.\r\nSe o evento foi originado em outro computador, as informa\u00e7\u00f5es de exibi\u00e7\u00e3o tiveram que ser salvas com o evento.\r\nAs seguintes informa\u00e7\u00f5es foram inclu\u00eddas com o evento:\r\nphp[5276]\r\nPHP Warning: 'vcruntime140.dll' 14.0 is not compatible with this PHP build linked with 14.16 (c:\\xampp\\apache\\bin\\httpd.exe)\r\n<\/pre>\n<p>Caso voc\u00ea esteja com o mesmo problema, acesse : <a href=\"https:\/\/support.microsoft.com\/en-us\/help\/2977003\/the-latest-supported-visual-c-downloads\">https:\/\/support.microsoft.com\/en-us\/help\/2977003\/the-latest-supported-visual-c-downloads<\/a><\/p>\n<p>Baixe e instale o programa <strong>vc_redist.x64.exe<\/strong>, no meu caso \u00e9 a vers\u00e3o x64<\/p>\n<p>Logo ap\u00f3s voc\u00ea ter\u00e1 que reiniciar o computador:<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recentemente tive um problema com o Xampp para Windows 10 ao tentar iniciar o Apache, procurei por v\u00e1rias alternativas na internet e nada resolvia, finalmente consegui depois de muito procurar, vou inform\u00e1-los como resolver este problema: Xampp vers\u00e3o 7.4.8 Para resolver v\u00e1 em: Painel de Controle -> Sistema e Seguran\u00e7a -> Ferramentas Administrativas -> Visualizador [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":455,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101,127],"tags":[139,72,90],"class_list":["post-302","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows","category-xampp","tag-erro-apache","tag-tutorial","tag-xampp","cat-101-id","cat-127-id","has_thumb"],"_links":{"self":[{"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/posts\/302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/comments?post=302"}],"version-history":[{"count":8,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/posts\/302\/revisions"}],"predecessor-version":[{"id":311,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/posts\/302\/revisions\/311"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/media\/455"}],"wp:attachment":[{"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/media?parent=302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/categories?post=302"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/hackerzone.com.br\/blog\/wp-json\/wp\/v2\/tags?post=302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}