Brand new to PHP

I am brand new to PHP and someone has just handed me a page to edit.

I've always used IIS to edit and build my ASP pages. My first thought was to run the PHP pages through the same interface and to my chagrin, it don't work.

So, however rudimentary this sounds, would some ninja please alert me to how I can make my PC into a PHP friendly environment so I can call menus etc.

And would whoever answers this question be willing to please tell me what "free" means when they're talking about either MYSQL or PHP? How does ASP cost anything. I understand having to purchase a database, but I never did understand how PHP and it's related family of components is free.

Thanks!
brucegustPHP DeveloperAsked:
Who is Participating?
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
>My first thought was to run the PHP pages through the same interface
when you mean IIS, that IS actually possible:
http://www.adobe.com/devnet/dreamweaver/articles/php_iis.html

>please tell me what "free" means when they're talking about either MYSQL or PHP?
free means free, no cost (unless you want to buy a enterprise version of mysql... )

0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
>but I never did understand how PHP and it's related family of components is free.

because there are many people that have worked on this with "personal interests" of many different natures, but with the same secondary effect: give the results available to everyone.
often referred to GNU-license



0
 
hernst42Commented:
Other option is to use http://www.apachefriends.org/en/xampp-windows.html which comes with all you need (php, webserver, mysql-database) and is easy to setup.

 You can run this beside IIS (if you use a different Port for apache)

That way your IIS keeps unchanged.
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
nizsmoDeveloperCommented:
Another very popular alternative is WAMP which a lot of people use, it is easy to setup, and very useerfriendly and you do not have to touch a single configuration file:

www.wampserver.com/en/

Let me know how you go.
0
 
brucegustPHP DeveloperAuthor Commented:
I would like to keep my IIS as the place where I've got all my development happening so I'll go with angellll. But here's the thing: I downloaded the PHP installation zip file, but when I double click on any of the exe files, nothing happens. When I double click the php.exe file, I get a blank DOS screen. The others don't do anything after I click "Run." Am I missing something?
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
you cannot run php directly like that.
use the config as shown in the link, and your web pages (.php) will work, and iis will call the php.exe as needed.
0
 
nizsmoConnect With a Mentor DeveloperCommented:
In that case, here is a very useful step by step tutorial:

http://www.ozzu.com/ftopic56303.html
0
 
brucegustPHP DeveloperAuthor Commented:
Do I put all of the php files that I unzipped into my wwwroot directory?
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
no, better not.
once you unzipped the file, you have to configure IIS.
looks like you did not really follow the link yet, or am I missing something?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.