homepage Welcome to WebmasterWorld Guest from 54.237.184.242
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
PHP/Apache set up on Microsoft XP home edition
mag1




msg:1250282
 11:07 am on Mar 9, 2005 (gmt 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

 

keeper




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

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

Have you done that part yet?

mag1




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

Yeah I did that but no joy. Don't get it.

keeper




msg:1250285
 11:58 am on Mar 9, 2005 (gmt 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?

coopster




msg:1250286
 12:12 pm on Mar 9, 2005 (gmt 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.

mag1




msg:1250287
 2:11 pm on Mar 9, 2005 (gmt 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.

BlackDex




msg:1250288
 6:05 pm on Mar 9, 2005 (gmt 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 :).

Kysmiley




msg:1250289
 9:26 pm on Mar 10, 2005 (gmt 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved