i've seen various threads about this same problem (at least i'm not the only one:D), but the most recent post is from 2006, so i wouldn't like to revive a long dead thread... :P

i've installed Apache 2.2.4, and PHP 5.2.3 for Windows 32

i'm working on Windows XP...

my php.ini file is in C:\Windows\
my php5ts.dll and php5apache.dll are in C:\Windows\system\

i modified php.ini so extension_dir = C:\Windows\system
i modified httpd.conf and added:

LoadModule php5_module c:/windows/system
AddModule mod_php5.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php5 .phtml

and still i get the error message:

httpd.exe: Syntax error on line 117 of C:\Program Files\Apache Software Foundation\Apache 2.2\conf\httpd.conf: Cannot load C:/Windows/system into server: Specified module not found.

i'm already going nuts with this:@, and tried every way around, and still got nothing... a little help would be appreciated...

hi
i have installed the same versions of apache and php and there is no such error in that !

but i gusse u are mistaken by writing LoadModule php5_module c:/windows/system
you'd better write
LoadModule php5_module c:/php/php5apache2_2.dll

and where u have added the AddType add the following line :
Action application/x-httpd-php "php/php.exe"

copy the file php5apache2_2.dll to /windows/system

i hope it helps
please let me know about it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.