I am a new to PHP and have to do a module on PHP for my course
I am trying to get PHP set up and running on my system at home, to learn the basics but failing miserably.
I am running windows 7 and trying to use Dreamweaver, as that
is the software used at the Uni.
Any help would be most appreciated
You need to be running your own server: http://www.wampserver.com/en/
It's free and fairly easy to use. Lots of documentation (and help on this forum).
Thanks for your reply.
Originally Posted by mlseim
I have being trying to install and run that for the best part of 2 hours,
but with no joy as yet.
I shall keep trying
Also another point, I have installed wampserver,
but went run http://localhost/ ,IIS7 appears, which
I have disabled, but with no joy again.
That'll probably be why you can't get the wamp installed (or probably just running since they would both attempt to secure port 80).
Did you disable the world wide publishing service completely? Also, in case you are not aware you can configure PHP to run in IIS as well, although I have never used IIS with PHP (and probably never will).
Win7 by default doesn't allow some wamp packages to run due to a system permission issue which didn't exist in XP.
Originally Posted by jammyb
What you have to do is this:
Right click on each programs .exe file (apache.exe, mysql.exe and php.exe), click properties then the compatibility tab. Now at the bottom, click "Change settings for all users". At the bottom of the next window you must check "Run this program as an administrator". Ok your way out of that and then re-try to run it again (also be sure to be rid of IIS).
FYI there is also the uniformserver - another wamp setup which I personally found to be better than xamp because it takes less disk space and still has most of the functionality.
IIS commandeers port 80 which is the default port for WAMP. I found it best just to let IIS have its way and change the port for WAMP: I use 81.
This video may be useful - telling you how to change it -but I haven't watched it myself.
Once you've change the port you would then use:
to preview your web site (having first started the wamp server).
Thank you all for you responses, I have now resolved my issue.
Originally Posted by AndrewGSW
The video has sorted out my problem.