943,884 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 2014
  • PHP RSS
Mar 19th, 2006
0

Trouble installing PHP on my machine

Expand Post »
Hi,

Can I get some help installing PHP on my machine? A while back, I had it working. I was using Microsoft IIS as a server, and I was testing my PHP files by putting them in the wwwroot directory. Something has happened since then because I cannot run php script any more. I have not deliberatly uninstalled anything...

I decided to try installing apache, I ran the install wizard and installed it, but I still can't get phpinfo or anything else to generate. Is there something else that I need to be doing to get Apache working?

Thanks,

Rum
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Rumrunner is offline Offline
4 posts
since Mar 2006
Mar 20th, 2006
0

Re: Trouble installing PHP on my machine

Concerning your IIS trouble... you say it was working then unexpectedly stopped working. Probably your easiest route is to get that working again. Can you browse to http://localhost and see any files? If you create a default.htm or index.htm in your wwwroot folder, do you see it? If not, your problem may simply be that IIS is not running. Right-click My Computer, choose Manage, then expand Services in the tree. You'll see an entry for IIS. Open it, right click the default web server and start it.

If you want to install Apache and configure it for PHP (something I highly recommend), then check out my WAMP HOWTO at www.troywolf.com/articles.
Reputation Points: 36
Solved Threads: 6
Posting Whiz
Troy is offline Offline
354 posts
since Jun 2005
Mar 22nd, 2006
0

Re: Trouble installing PHP on my machine

Thanks for the help, I have got PHP working again with Apache now! I am wondering something though, I believe the version of Apache that I downloaded is a later version than the one you used in the tutorial and I think in my version there is a couple of things that are different. For instance, I am having trouble changing my root directory to "C:\www". My version does not have a httpd.conf file, only a httpd and a httpd.default file, so I tried changing the default directory in both of those files, but it doesn't work. It's alright though, I am glad to have it working!

I would like to compliment you on the nice work you have done on the tutorials you have written. One thing that sets your tutorial aside is detail. I appreciate the way you lay everything out in a step by step process. Also your writing makes sense, alot of tutorials I have read in the past are loaded with amiguous statements that make no sense.

Thanks again,

Rum
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Rumrunner is offline Offline
4 posts
since Mar 2006
Mar 22nd, 2006
0

Re: Trouble installing PHP on my machine

Quote originally posted by Rumrunner ...
My version does not have a httpd.conf file, only a httpd and a httpd.default file, so I tried changing the default directory in both of those files, but it doesn't work. It's alright though, I am glad to have it working!
What version did you download exactly? I'll check it out. In any case, the conf files have always ended in the ".conf" extension. These conf files traditionally live in a "conf" dir under the Apache root dir and subdirs of the conf dir. It may be that you have to create the httpd.conf by copying the httpd.default, but I don't know. I'll check it out for you if you tell me what version. In any case, I'm positive you can change your webroot via a conf file.

Quote originally posted by rumrunner ...
I would like to compliment you on the nice work you have done on the tutorials you have written. One thing that sets your tutorial aside is detail. I appreciate the way you lay everything out in a step by step process. Also your writing makes sense, alot of tutorials I have read in the past are loaded with amiguous statements that make no sense.
Thanks again
Thank you very much. That HOWTO gets a lot of hits, but I rarely get feedback. I tried to write it so that somebody who is at least familiar with working with Windows directories and editing text files could install a working WAMP system. Then I go on to provide a few simple code examples to test the configuration and get you started developing. I should take the time to go through it again myself and update it with any minor changes in the package installations.
Reputation Points: 36
Solved Threads: 6
Posting Whiz
Troy is offline Offline
354 posts
since Jun 2005
Mar 22nd, 2006
0

Re: Trouble installing PHP on my machine

httpd-2.0.55-win32-src is the version I couldn't find a .conf file in the conf directory.

Also I was just curious about something else, how come there is an Apache and an Apache 2 folder in the program directory. I just thought it was interesting that these folders have the same contents.

Thanks,

Rob
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Rumrunner is offline Offline
4 posts
since Mar 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Deleting Uploaded Files?
Next Thread in PHP Forum Timeline: Switching versions of PHP





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC