Link to home
Start Free TrialLog in
Avatar of Bruce Gust
Bruce GustFlag for United States of America

asked on

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!
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>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



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.
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.
Avatar of Bruce Gust

ASKER

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?
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.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Do I put all of the php files that I unzipped into my wwwroot directory?
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?