Connecting Tech Pros Worldwide Help | Site Map

Apache & PHP installation/configuration problem

  #1  
Old July 17th, 2005, 05:18 AM
Panos Hadjikomninos
Guest
 
Posts: n/a
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!


  #2  
Old July 17th, 2005, 05:18 AM
Andy Hassall
Guest
 
Posts: n/a

re: Apache & PHP installation/configuration problem


On Fri, 19 Mar 2004 23:04:46 +0200, "Panos Hadjikomninos"
<garfield01@panafonet.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.andyhsoftware.co.uk/space>
  #3  
Old July 17th, 2005, 05:18 AM
puk
Guest
 
Posts: n/a

re: Apache & PHP installation/configuration problem


Andy Hassall wrote:[color=blue]
> On Fri, 19 Mar 2004 23:04:46 +0200, "Panos Hadjikomninos"
> <garfield01@panafonet.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


  #4  
Old July 17th, 2005, 05:18 AM
kingofkolt
Guest
 
Posts: n/a

re: Apache & 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@panafonet.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]


  #5  
Old July 17th, 2005, 05:19 AM
Chung Leong
Guest
 
Posts: n/a

re: Apache & PHP installation/configuration problem


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

Uzytkownik "Panos Hadjikomninos" <garfield01@panafonet.gr> napisal w
wiadomosci news:c3fn9a$1d2f$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]


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
php extensions and windows... specifically extension_dir Chris Paul answers 3 December 5th, 2005 12:45 AM
php-4.3.4-Win + Apache2 + XP Ad Astra answers 5 July 17th, 2005 05:02 AM