Apache & PHP installation/configuration problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Panos Hadjikomninos

    Apache & PHP installation/configuration problem

    Hello, can anyone help me, I am new to PHP.

    I am trying to set up the Apache Server for PHP (in Windows XP), but when I
    ad the line:

    LoadModule php4_module c:/php-4.2.3-Win32/sapi/php4apache2.dll

    (in httpd.conf), then the Apache Server refuces to start (I get "The
    requested operation has failed" msg).

    Without that line the Apache Server starts with no problems. The directory
    path is correct.

    Please help me!


  • Andy Hassall

    #2
    Re: Apache & PHP installation/configuration problem

    On Fri, 19 Mar 2004 23:04:46 +0200, "Panos Hadjikomninos"
    <garfield01@pan afonet.gr> wrote:
    [color=blue]
    >Hello, can anyone help me, I am new to PHP.
    >
    >I am trying to set up the Apache Server for PHP (in Windows XP), but when I
    >ad the line:
    >
    >LoadModule php4_module c:/php-4.2.3-Win32/sapi/php4apache2.dll
    >
    >(in httpd.conf), then the Apache Server refuces to start (I get "The
    >requested operation has failed" msg).
    >
    >Without that line the Apache Server starts with no problems. The directory
    >path is correct.[/color]

    Look in the Windows event log, there will be more information there.

    --
    Andy Hassall <andy@andyh.co. uk> / Space: disk usage analysis tool
    <http://www.andyh.co.uk > / <http://www.andyhsoftwa re.co.uk/space>

    Comment

    • puk

      #3
      Re: Apache &amp; PHP installation/configuration problem

      Andy Hassall wrote:[color=blue]
      > On Fri, 19 Mar 2004 23:04:46 +0200, "Panos Hadjikomninos"
      > <garfield01@pan afonet.gr> wrote:
      >[color=green]
      >> Hello, can anyone help me, I am new to PHP.
      >>
      >> I am trying to set up the Apache Server for PHP (in Windows XP), but
      >> when I ad the line:
      >>
      >> LoadModule php4_module c:/php-4.2.3-Win32/sapi/php4apache2.dll
      >>
      >> (in httpd.conf), then the Apache Server refuces to start (I get "The
      >> requested operation has failed" msg).
      >>
      >> Without that line the Apache Server starts with no problems. The
      >> directory path is correct.[/color]
      >
      > Look in the Windows event log, there will be more information there.[/color]


      You could try changing the dots to underscores between the 4.2.3
      and also rename the directory likewise - just a hunch.
      LoadModule php4_module c:/php-4_2_3-Win32/sapi/php4apache2.dll

      Neil


      Comment

      • kingofkolt

        #4
        Re: Apache &amp; PHP installation/configuration problem

        remember that is currently recommended that you use Apache 1.3.x and not
        Apache 2 for PHP...

        at http://www.php.net/manual/en/install.apache.php (especially steps 14-17)
        there is instructions on configuring Apache 1.3.x for PHP. they also have
        instructions for configuring Apache 2 but it is experimental and not
        completely reliable.

        hope this helps

        - JP

        ----- Original Message -----
        From: "Panos Hadjikomninos" <garfield01@pan afonet.gr>
        Newsgroups: comp.lang.php
        Sent: Friday, March 19, 2004 4:04 PM
        Subject: Apache & PHP installation/configuration problem

        [color=blue]
        > Hello, can anyone help me, I am new to PHP.
        >
        > I am trying to set up the Apache Server for PHP (in Windows XP), but when[/color]
        I[color=blue]
        > ad the line:
        >
        > LoadModule php4_module c:/php-4.2.3-Win32/sapi/php4apache2.dll
        >
        > (in httpd.conf), then the Apache Server refuces to start (I get "The
        > requested operation has failed" msg).
        >
        > Without that line the Apache Server starts with no problems. The directory
        > path is correct.
        >
        > Please help me!
        >
        >[/color]


        Comment

        • Chung Leong

          #5
          Re: Apache &amp; PHP installation/configuration problem

          You didn't copy php4ts.dll into C:\Windows\Syst em32, that's the problem.
          (You can also put the file in the sapi folder.)

          Uzytkownik "Panos Hadjikomninos" <garfield01@pan afonet.gr> napisal w
          wiadomosci news:c3fn9a$1d2 f$1@ulysses.noc .ntua.gr...[color=blue]
          > Hello, can anyone help me, I am new to PHP.
          >
          > I am trying to set up the Apache Server for PHP (in Windows XP), but when[/color]
          I[color=blue]
          > ad the line:
          >
          > LoadModule php4_module c:/php-4.2.3-Win32/sapi/php4apache2.dll
          >
          > (in httpd.conf), then the Apache Server refuces to start (I get "The
          > requested operation has failed" msg).
          >
          > Without that line the Apache Server starts with no problems. The directory
          > path is correct.
          >
          > Please help me!
          >
          >[/color]


          Comment

          Working...