| | |
Trouble installing PHP on my machine
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Mar 2006
Posts: 4
Reputation:
Solved Threads: 0
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
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
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.
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.
•
•
Join Date: Mar 2006
Posts: 4
Reputation:
Solved Threads: 0
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
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
•
•
•
•
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!
•
•
•
•
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
•
•
Join Date: Mar 2006
Posts: 4
Reputation:
Solved Threads: 0
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
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
![]() |
Similar Threads
- Installing PHP on Win XP Pro (PHP)
- trouble setting up PHP with apache (PHP)
- Hardware Requirements for Fedora, Apache, MySQL and PHP on one machine (*nix Hardware Configuration)
- Trouble installing Pather (OS X)
Other Threads in the PHP Forum
- Previous Thread: Deleting Uploaded Files?
- Next Thread: Switching versions of PHP
| Thread Tools | Search this Thread |
apache api array beginner binary broken cache cakephp checkbox class cms code confirm cron curl customizableitems database date display dynamic echo email error external fcc file files folder form forms forum freelancing function functions google header headmethod howtowriteathesis href htaccess html iframe image include insert ip javascript joomla limit link login mail malfunction menu method mlm mod_rewrite multiple mysql neutrality oop pageing pagerank paypal pdf php phpmysql play problem query question radio random recursion remote root script search select server sessions sms soap source space sql support! syntax system table template tutorial update upload url validator variable video web youtube





