Welcome to WebmasterWorld Guest from 54.160.249.204

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP/Apache set up on Microsoft XP home edition

     
11:07 am on Mar 9, 2005 (gmt 0)

New User

10+ Year Member

joined:Nov 17, 2004
posts:22
votes: 0


Hi, I could be in the wrong area here, but I'm trying to install php/mysql and apache server on my PC. It's operating system is Microsoft XP home edition. I've downloaded and installed the files and made some changes i.e. renamed a file to php.ini and added some lines to the httpd.conf file. However when I try to view php in [localhost...] it's advising that the page cannot be displayed. Is this to do with browser settings?

Has anyone come across any similar problems? If so what did you do to get around the problem?

Thanks,
mag1

11:17 am on Mar 9, 2005 (gmt 0)

Full Member

10+ Year Member

joined:May 8, 2002
posts:226
votes: 0


Should work if you place php.ini in c:\windows

Have you done that part yet?

11:40 am on Mar 9, 2005 (gmt 0)

New User

10+ Year Member

joined:Nov 17, 2004
posts:22
votes: 0


Yeah I did that but no joy. Don't get it.
11:58 am on Mar 9, 2005 (gmt 0)

Full Member

10+ Year Member

joined:May 8, 2002
posts:226
votes: 0


When you say the page cannot be displayed, is it a 404? A blank page?

Is an access.log being created in your apache directory you can check?

Does the source code contain unparsed php?

12:12 pm on Mar 9, 2005 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12537
votes: 0


There are a couple of threads in our PHP Forum Library [webmasterworld.com] discussing how to setup Apache and PHP on Windows that may be of some help to you.
2:11 pm on Mar 9, 2005 (gmt 0)

New User

10+ Year Member

joined:Nov 17, 2004
posts:22
votes: 0


Thanks, I'll have a look at the library you've suggested and see how I get on.

Keeper, I don't think it's a 404 error I'm getting. The page that displays is the same as if you open internet explore without being connected to the internet (If that makes sense). Unfortunately I'm not at my home machine at the moment so can't check anything exactly. I have a html file and a php file in the location that should be localhost but it's not seeing them.

6:05 pm on Mar 9, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 17, 2003
posts:100
votes: 0


If you want an easy way to have MySQL with PHP(4 and/or 5) and Apache, you can try this: WampServer [en.wampserver.com].

I use it and it is greate :).

9:26 pm on Mar 10, 2005 (gmt 0)

Full Member

10+ Year Member

joined:Mar 27, 2004
posts:276
votes: 0


Do a search for a post by henry-o its great. I played for years on and off trying to figure out how to get apache, php, and mysql on my pc and laptop. with his indepth tutorial here at webmaster i had it up in about an hour and running great on XP home edition
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members