Connecting Tech Pros Worldwide Help | Site Map

Apache & PHP installation/configuration problem

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 04:18 AM
Panos Hadjikomninos
Guest
 
Posts: n/a
Default 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!



  #2  
Old July 17th, 2005, 04:18 AM
Andy Hassall
Guest
 
Posts: n/a
Default 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, 04:18 AM
puk
Guest
 
Posts: n/a
Default 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, 04:18 AM
kingofkolt
Guest
 
Posts: n/a
Default 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, 04:19 AM
Chung Leong
Guest
 
Posts: n/a
Default 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]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.