Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-23-2013, 07:44 PM   PM User | #1
jammyb
New to the CF scene

 
Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
jammyb is an unknown quantity at this point
PHP Beginner

Hola folks,

I am a new to PHP and have to do a module on PHP for my course
at Uni.
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

Thanks
jammyb is offline   Reply With Quote
Old 01-23-2013, 07:53 PM   PM User | #2
mlseim
Master Coder

 
mlseim's Avatar
 
Join Date: Jun 2003
Location: Cottage Grove, Minnesota
Posts: 9,055
Thanks: 8
Thanked 1,032 Times in 1,023 Posts
mlseim has a spectacular aura aboutmlseim has a spectacular aura aboutmlseim has a spectacular aura about
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).
mlseim is offline   Reply With Quote
Old 01-23-2013, 07:56 PM   PM User | #3
jammyb
New to the CF scene

 
Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
jammyb is an unknown quantity at this point
Quote:
Originally Posted by mlseim View Post
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.

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
jammyb is offline   Reply With Quote
Old 01-23-2013, 08:11 PM   PM User | #4
jammyb
New to the CF scene

 
Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
jammyb is an unknown quantity at this point
Also another point, I have installed wampserver,
but went run http://localhost/ ,IIS7 appears, which
I have disabled, but with no joy again.
jammyb is offline   Reply With Quote
Old 01-23-2013, 08:13 PM   PM User | #5
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,741
Thanks: 4
Thanked 2,465 Times in 2,434 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
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).
__________________
PHP Code:
header('HTTP/1.1 420 Enhance Your Calm'); 
Fou-Lu is offline   Reply With Quote
Old 01-23-2013, 10:11 PM   PM User | #6
tangoforce
Senior Coder

 
tangoforce's Avatar
 
Join Date: Feb 2011
Location: Your Monitor
Posts: 3,665
Thanks: 45
Thanked 456 Times in 444 Posts
tangoforce will become famous soon enoughtangoforce will become famous soon enough
Quote:
Originally Posted by jammyb View Post
I am running windows 7
Win7 by default doesn't allow some wamp packages to run due to a system permission issue which didn't exist in XP.

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.
__________________
Please don't be rude: Put your php code in [php][/php] tags. It is a sticky topic at the top of the forum and it HELPS us to HELP YOU!
TIP: Coding styles and $end errors :::::::::: TIP: Warning: Cannot modify header information - headers already sent :::::::::: TIP: Quotes / Parse error: syntax error, unexpected T_..
PHP Code:
//Please don't use this for your form processing:
if (isset($_POST['submit']))
//Internet explorer has a bug and does not always send the submit value. 
Explanation: The IE if(isset($_POST['submit'])) bug explained.
tangoforce is offline   Reply With Quote
Old 01-24-2013, 01:14 AM   PM User | #7
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
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:

http://localhost:81/

to preview your web site (having first started the wamp server).
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
AndrewGSW is offline   Reply With Quote
Old 01-29-2013, 09:51 PM   PM User | #8
jammyb
New to the CF scene

 
Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
jammyb is an unknown quantity at this point
Quote:
Originally Posted by AndrewGSW View Post
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:

http://localhost:81/

to preview your web site (having first started the wamp server).
Thank you all for you responses, I have now resolved my issue.

The video has sorted out my problem.
jammyb is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:10 AM.


Advertisement
Log in to turn off these ads.