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.

Installing on windows xp - got it all running fine on windows 7.

Thanks for the help!

    How did you install PHP? Did you download the .zip package? If so, which one?

    Also, did you add the main PHP directory (e.g. c:/PHP) to your system's PATH environment variable (note this probably requires a restart of the computer)?

      bradgrafelman;10969000 wrote:

      How did you install PHP? Did you download the .zip package? If so, which one?

      Yes I did, PHP514.

      Also, did you add the main PHP directory (e.g. c:/PHP) to your system's PATH environment variable (note this probably requires a restart of the computer)?[/QUOTE]

      Actually forgot to do this... Did it now however and the problem persists...

        Downloaded php for myself (The version I had was given to me to use). Installed it and now it works perfectly!

        Lesson learnt - Do stuff yourself!

        Thanks

          Write a Reply...