title: Apache doesn't load module from PHP
body: <p>I am following this portuguese article to configure Apache and PHP:</p>
  
  <p><a href="http://blog.patriciodossantos.net/2013/12/instalar-e-configurar-o-ambiente-de-desenvolvimento-em-php-no-windows-8-2a-parte/" rel="noreferrer">How Install And Configure The Development Environment in PHP - Part 2</a>.</p>
  
  <p>I already set up the <strong>php.ini</strong> and <strong>httpd.conf</strong> files. Besides to <strong>php5apache2_4.dll</strong> is in the right directory, but when I restart the server show me the following error:</p>
  
  <blockquote>
    <p>httpd.exe: Syntax error on line 531 of D:/Apache24/conf/httpd.conf:
    Invalid LoadModule path \xe2\x80\xaa"D:/php-5.6.13/php5apache2_4.dll"</p>
  </blockquote>
  
  <p>Httpd.conf:</p>
  
  <pre><code>LoadModule php5_module ‪"D:/php-5.6.13/php5apache2_4.dll"
  AddType application/x-httpd-php .php 
  PHPIniDir "D:/php-5.6.13/"
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <p>I changed the <strong>Httpd.conf</strong> file.</p>
  
  <pre><code>LoadModule php5_module ‪"../php-5.6.13/php5apache2_4.dll"
  AddType application/x-httpd-php .php 
  PHPIniDir "../php-5.6.13/"
  </code></pre>
  
  <p>And now is returning me a new error:</p>
  
  <blockquote>
    <p>httpd.exe: Syntax error on line 531 of D:/Apache24/conf/httpd.conf:
    Cannot load ../php-5.6.13/php5apache2_4.dll into server: %1 n\xe3o
    \xe9 um aplicativo Win32 v\xe1lido.</p>
  </blockquote>
  
  <p>In English language: Not a valid Win32 application.</p>
  
  <p>In console: </p>
  
  <pre><code>php -version
  PHP 5.6.13 (cli) (built: Sep  3 2015 15:14:40)
  Copyright (c) 1997-2015 The PHP Group
  Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
  
  httpd -version
  Server version: Apache/2.4.16 (Win64)
  Apache Lounge VC14 Server built:   Jul 22 2015 13:24:19
  </code></pre>