Author |
|
Blurp
Joined: 23 Nov 2010 Posts: 4
|
Posted: Tue 23 Nov '10 11:27 Post subject: Can't load php5apache2_2.dll |
|
|
Hi everyone,
I am not that new to apache and php but this is the first time I've needed to install something!
Basically I Installed Apache 2.2 and it works correctly. Now I would like to get it working with PHP. Put my php things in C:/PHP.
in httpd.conf inserted the following:
loadModule php5_module "C:/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/PHP"
Restarted Apache and Apache told me no. Run Test Config and it tells me no - php5apache2_2.dll
I have no clue where this is coming from!
Before anyone asks:
I have triple checked the cases and spelling of everything.
Have also added C:/PHP to PATH.
Installing on windows xp - got it all running fine on windows 7.
Thanks for any help! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7377 Location: Germany, Next to Hamburg
|
Posted: Tue 23 Nov '10 14:07 Post subject: |
|
|
Which apache version? Which PHP version ( and which VC6 or VC9)? Does the php5apache2_2.dll exist in the folder? |
|
Back to top |
|
Blurp
Joined: 23 Nov 2010 Posts: 4
|
Posted: Tue 23 Nov '10 14:10 Post subject: |
|
|
James Blond wrote: | Which apache version? Which PHP version ( and which VC6 or VC9)? Does the php5apache2_2.dll exist in the folder? |
Sorry should have specified -
Apache 2.2, PHP 5.14, VC6.
and yes it does exist Put it there myself! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7377 Location: Germany, Next to Hamburg
|
|
Back to top |
|
Blurp
Joined: 23 Nov 2010 Posts: 4
|
Posted: Wed 24 Nov '10 9:50 Post subject: |
|
|
I'm not entirely sure, I wasn't the one who downloaded it - Basically got given a bunch of files to get working.
What difference does it make and which should I use? |
|
Back to top |
|
Blurp
Joined: 23 Nov 2010 Posts: 4
|
Posted: Wed 24 Nov '10 11:00 Post subject: |
|
|
Well... I downloaded it again and now it works perfectly!
Lesson - Do things yourself lol
Thanks |
|
Back to top |
|