2
I’m following this article to configure Apache and PHP:
Installing and Configuring the PHP Development Environment - Part 2
I’ve set up the php.ini and httpd.conf besides the DLL php5apache2_4.dll be in its respective place, but is returning the following error in restarting the Apache server:
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"
I looked for similar problems in Stackoverflow but the answers did not help.
The only difference is that instead of putting the Apache files in addition to PHP on partition C
EDIT
Httpd.conf:
LoadModule php5_module "D:/php-5.6.13/php5apache2_4.dll"
AddType application/x-httpd-php .php
PHPIniDir "D:/php-5.6.13/"
EDIT
I changed the Httpd.conf file:
LoadModule php5_module "../php-5.6.13/php5apache2_4.dll"
AddType application/x-httpd-php .php
PHPIniDir "../php-5.6.13/"
But now you’re making another mistake:
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 a Win32 v xe1read application.
It is not a valid Win32 application, the versions of both (Apache and PHP) are Win32
Try with the DLL,
php5apache2_2.dll
– Papa Charlie
Fixed the problem, thanks @Papacharlie, but now returned another.
– Giancarlo Abel Giulian
I fixed the other problem, I was wrong when I said that the version of Apache was Win32, now that it is Win32. It started the server correctly.
– Giancarlo Abel Giulian