Welcome to WebmasterWorld Guest from 54.162.227.136

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)

10+ Year Member



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)

10+ Year Member



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)

10+ Year Member



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

10+ Year Member



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)

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



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)

10+ Year Member



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)

10+ Year Member



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)

10+ Year Member



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
 

Featured Threads

Hot Threads This Week

Hot Threads This Month