Forum Moderators: coopster

Message Too Old, No Replies

PHP on local machine

Something not working

         

Mark Barrett

8:47 am on Jun 12, 2005 (gmt 0)

10+ Year Member



Back in 2004 I installed PHP, Apache and MySQL on my local machine to do some testing.

I have not used it since.

I just tried to browse one of my .php test files in IE and it opened up in Dreamweaver!

Everything seems to be in place where I left it, I restarted Apache just in case - but no joy.
Is there something simple that I have forgotten to do? - something I should have started up? - or something I can check?

I would like to avoid reinstalling the software if possible as I recall having a few "teething problems."

Thanks for any guidance you can give me.

Mark Barrett

MattAU

9:48 am on Jun 12, 2005 (gmt 0)

10+ Year Member



If it's all running correctly, perhaps you tried to run the script by typing in something like C:/htdocs/yourfile.php? Remember you need to use [localhost...] If that doesn't work try [127.0.0.1...]

Hope this helps :)

Mark Barrett

10:13 am on Jun 12, 2005 (gmt 0)

10+ Year Member



Spot on!

I'd forgotten I needed the http:// even though everything is on my local machine.

I can't thank you guys enough!

That's got me back where I was before so now I can get on with my work.

Thanks again.

Mark

MattAU

11:04 am on Jun 12, 2005 (gmt 0)

10+ Year Member



Glad I could help. Good luck with it!