New to PHP

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
realdrouin
Forum Newbie
Posts: 5
Joined: Mon Feb 15, 2010 11:36 am

New to PHP

Post by realdrouin »

Hi,

I'm new to PHP and this website, thus bear with me if I don't do it the right way, I will learn.

I have a windows 2003 server. I have .Net applications that runs. I'm starting in PHP. I tried to install it and had so much problems that I've asked an expert to install it for me. She did it and it's working fine.

Now I have to install it again. She told me that I would be better doing it myself. It's a good idea.

Therefore I've installed xamp. It looks that it's all installed but I still can run a PHP program.

She said that I have to install something else. I've followed the instructions, about 200, and it did not work.

I'm all confuse. I thought that xamp was doing all the installations by itself. Why should I have to do "tons" of new steps ?

Regardless of that, is there a magic website/application I can use to install php once and for all.

Thanks
Real
Rippie
Forum Commoner
Posts: 76
Joined: Sun Jan 10, 2010 11:32 am
Location: Nottingham

Re: New to PHP

Post by Rippie »

Hi Realdrouin !!

Welcome to devnetwork and PHP. Have you looked on XAMPP's website for solutions ? Also could you give some more information about what you can see on your screen when you try to run a php side ? have you tried to make a phpinfo.php file and inside it have this:

<?php
phpinfo();
?>

Also can you get other webpages to show ? on your apache server ?

Rippie
User avatar
greyhoundcode
Forum Regular
Posts: 613
Joined: Mon Feb 11, 2008 4:22 am

Re: New to PHP

Post by greyhoundcode »

Although I use XAMPP, I write code with Nusphere PhpEd. Now the interesting thing about PhpEd (and probably some other PHP IDEs) is that it comes bundled with a micro-server, so you can run the code you are writing without installing XAMPP or anything else.

As ever there are limitations to the built-in micro-server, such as no MySQL and no ability to do URL rewrites, hence my use of XAMPP, but if you are just getting started or indeed if rewrite rules/MySQL are of no interest to you, then it could be a good (and easily installed) solution for you.
Doug G
Forum Contributor
Posts: 282
Joined: Sun Sep 09, 2007 6:27 pm

Re: New to PHP

Post by Doug G »

xampp installs Apache web server which conflicts with the IIS server in W2003. Since you're using asp.NET you'll need IIS, not xampp/apache. There are plenty of tutorials on installing PHP in IIS. If you want to have both IIS and Apache running, one of them will need to operate on an alternate http port.
User avatar
emmbec
Forum Contributor
Posts: 112
Joined: Thu Sep 21, 2006 12:19 pm
Location: Queretaro, Mexico

Re: New to PHP

Post by emmbec »

If you already have IIS (Which you use to run .NET applications) you only need to install PHP, take a look at this:

http://www.peterguy.com/php/install_IIS6.html
Post Reply