Apache 2.0.46 with XP setup

This is a discussion on Apache 2.0.46 with XP setup within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi I've just installed Apache in XP so I can start to experiment with MySQL and PHP. The service ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-03-2003
luds
 
Posts: n/a
Default Apache 2.0.46 with XP setup

Hi
I've just installed Apache in XP so I can start to experiment with
MySQL and PHP.
The service monitor says that the status is ok.
However, should the browser display something (other than the "Cannot
find Server" page!) when I type in http:localhost or http:127.0.0.1/
????

Sorry to trouble you with this trivial question.

luds
  #2 (permalink)  
Old 07-03-2003
jorge
 
Posts: n/a
Default Re: Apache 2.0.46 with XP setup

try using http://127.0.0.1 not http:127.0.0.1
  #3 (permalink)  
Old 07-04-2003
Jesse
 
Posts: n/a
Default Re: Apache 2.0.46 with XP setup

luds wrote:
> jorge@jorge.be (jorge) wrote in message news:<734d12db.0307030525.1f58d848@posting.google. com>...
>
>>try using http://127.0.0.1 not http:127.0.0.1

>
>
>
> Sorry jorge.... I missed the // out in my message... I did put them in
> when I tried to get the page to load....
>
> Also... I now get the DOS window popping up when I try to open the
> server with the message "Cannot load c:/php/sapi/php4apache.dll into
> server The specified module could not be found"
>
> But it's there... and it's in my httpd file
> LoadModule php4_module c:/php/sapi/php4apache.dll
>
> Any ideas??


You should be able to use the executable for PHP,It is better and less
buggy and hole lot more easy to setup,and it alows the deguger in
phpedit.net to work faster if you use this program,which happens to be
the best php programming tool

In the event you are sure you need a module version of php, pay very
close attention to you php.ini file for the directories
"extension_dir" and "doc_root" You will need to make sure they match
your config.

And don't forget to move the dll php4ts.dll to your windows/system32
directory

TOG wrote a tutorial on how to set this up which was on
www.apachelounge.com I think however the site seems to be down from here

And remeber to reboot,unless you know how to register them other ways

  #4 (permalink)  
Old 07-04-2003
jorge
 
Posts: n/a
Default Re: Apache 2.0.46 with XP setup

-_-;
Try removeing the line of php, and see if apache works,
Probaly, i had some problems with php to, try reinstalling php with a
difrent version, work for me.
  #5 (permalink)  
Old 07-04-2003
Bert Brunekreeft
 
Posts: n/a
Default Re: Apache 2.0.46 with XP setup


"luds" <paulvarney@blueyonder.co.uk> wrote in message
news:91c26eba.0307031424.3cdbe00b@posting.google.c om...
> jorge@jorge.be (jorge) wrote in message

news:<734d12db.0307030525.1f58d848@posting.google. com>...
> > try using http://127.0.0.1 not http:127.0.0.1

>
>
> Sorry jorge.... I missed the // out in my message... I did put them in
> when I tried to get the page to load....
>
> Also... I now get the DOS window popping up when I try to open the
> server with the message "Cannot load c:/php/sapi/php4apache.dll into
> server The specified module could not be found"
>
> But it's there... and it's in my httpd file
> LoadModule php4_module c:/php/sapi/php4apache.dll
>
> Any ideas??



For Apache 2, you need the module php4apache2.dll.
Change your loadmodule line into

LoadModule php4_module c:/php/sapi/php4apache2.dll

Did you also add the line
AddType application/x-httpd-php .php
to your apache config file?

Bert


  #6 (permalink)  
Old 07-09-2003
The Other Guy
 
Posts: n/a
Default Re: Apache 2.0.46 with XP setup

On 9 Jul 2003 07:05:19 -0700, The Other Guy responded to a post from
LISAPOP@prodigy.net (Frustrated) who wrote in
comp.infosystems.www.servers.ms-windows:

>I've intalled Apache 2 with windows XP--I have no other web servers so
>I set it up to listen on port 80 with local host as the names I
>inputed. I have the Apache Monitor running in the toolbar--it is set
>on start. I have been unable to open apache for the firt time. I've
>read that I need to type in C:|Apache2> bin\Apache.exe in my command
>prompt(it doesn't work) do I need to type this is when my apache
>monitor has the green triangle?(meaning it has started).
> What I get when I type in http://localhost/ is my IS cannot open
>page due to page being unavailable or nonexistent. What do I do to
>get this thing to work? Do I type anything into the Apache Monitor?
>Please e-mail me help:LISAPOP@prodigy.net. THank you.


The green triangle indicates that Apache is running as a service on
your machine (so you do not need to type "apache" into the command
line). You also do not need to type anything into the Apache Monitor,
but you can use it to stop/restart or start Apache again.

Try typing http://localhost (without the trailing slash) or
http://127.0.0.1 to see if they work (you should just be able to click
these links and the browser should open to the requested page).

Also, check your Apache error logs for any indication of why the page
may not be served.

Regards,
TOG

--
../configure --prefix=~/zyterion
Not this guy or that guy, The Other Guy.

This spot may contain a satirical comment or comedic source,
and is meant to be funny. If you are easily offended, gullible
or don't have a sense of humour we suggest you read elsewhere.
  #7 (permalink)  
Old 07-13-2003
jds
 
Posts: n/a
Default Re: Apache 2.0.46 with XP setup

If you get the dll issue straightened out and still have a problem
connecting, try using http://localhost:8080 or http://127.0.0.1:8080 to
connect to the server. If your installation is listening to a different
port than 8080, use that instead.

This worked for me.

Good luck,

Jerry

"luds" <paulvarney@blueyonder.co.uk> wrote in message
news:91c26eba.0307031424.3cdbe00b@posting.google.c om...
> jorge@jorge.be (jorge) wrote in message

news:<734d12db.0307030525.1f58d848@posting.google. com>...
> > try using http://127.0.0.1 not http:127.0.0.1

>
>
> Sorry jorge.... I missed the // out in my message... I did put them in
> when I tried to get the page to load....
>
> Also... I now get the DOS window popping up when I try to open the
> server with the message "Cannot load c:/php/sapi/php4apache.dll into
> server The specified module could not be found"
>
> But it's there... and it's in my httpd file
> LoadModule php4_module c:/php/sapi/php4apache.dll
>
> Any ideas??



 


Thread Tools
Display Modes

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

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



All times are GMT +1. The time now is 06:48 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0