SitePoint Sponsor

User Tag List

Results 1 to 1 of 1
  1. #1
    SitePoint Guru Dashman's Avatar
    Join Date
    Jan 2006
    Location
    Manchester, UK
    Posts
    627
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Apache/Php5 on Windows XP - LoadModule

    Hi guys,

    I am having the following problem installing Apache and PHP on my machine.
    Apache 2.2
    PHP 5

    I have installed php to C:\php5 and put the PHP.ini file in C:\Windows, and added the path C:\php5 to the Environment Variables.

    I have put the following in httpd.conf:

    Code:
       LoadModule php5_module "c:/php5/php5apache2.dll"
       AddType application/x-httpd-php .php
    When I try and restart Apache, I get an alert saying the following:
    "The requested operation failed!"

    When I comment out the first line (LoadModule) it starts, but that is obviously no good.
    When I go to Start>Programs>Apache>Configure>Test Configuration,
    I get the command prompt, and it tells me I have a syntax error on that LoadModule line, and that the module cannot be loaded.

    It is copied straight from other examples I have seen (obviously I changed the path).

    Could someone please tell me what may be wrong here.

    Cheers,
    D

    Problem resolved:
    I was using Apache 2.2, when I should have been using 2.0. There are apparently incompatibilty issues
    Last edited by Dashman; Aug 23, 2006 at 07:47. Reason: Problem solved


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •