1. Post #1
    Gold Member
    iownuall's Avatar
    July 2009
    1,077 Posts
    I am trying to get Apache to run a module so PHP will work, but when I edit the httpd.conf file to include:
    LoadModule php5_module "c:/php/php5apache2.dll"
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .php-source .phps

    And when I start the server, I get "The requested operation has failed!" message. What am I doing wrong?

  2. Post #2

    November 2009
    2,618 Posts
    What is your os?
    Reply With Quote Edit / Delete Reply United States Show Events Dumb Dumb x 1 (list)

  3. Post #3
    turb_'s Avatar
    February 2010
    2,202 Posts
    LoadModule php5_module "c:/php/php5apache2.dll"
    what is your os?
    yet another fucking quality macfagbee post

  4. Post #4

    November 2009
    2,618 Posts
    yet another fucking quality macfagbee post
    -snip-

  5. Post #5
    Dragon Member
    Dragory's Avatar
    January 2006
    1,312 Posts
    Are you using Apache 2 or 2.2?

    With 2.2, you need to use the following instead:
    Code:
    LoadModule php5_module "c:/php/php5apache2_2.dll"
    Reply With Quote Edit / Delete Reply Finland Show Events Agree Agree x 1 (list)