Before you can write and test your PHP scripts, there's one thing you'll
need - a server! Fortunately, you don't need to go out and buy one.
In fact, you won't be spending any extra money. That's why PHP is so
popular! But because PHP is a server-sided scripting language, you either
have to get some web space with a hosting company that supports PHP,
or make your computer pretend that it has a server installed. This is
because PHP is not run on your PC - it's executed on the server. The
results are then sent back to the client PC .
If you have OS X, then try these sites to get up and running with PHP:
Be sure to click the link for Presentation, as well as the link for Downloads. The Presentation page shows you how to install the file.
Apple Users
If you have OS X, then try these sites to get up and running with PHP:
http://www.onlamp.com/pub/a/mac/2001/12/07/apache.html
http://www.entropy.ch/software/macosx/php/
What you're doing here is getting the apache server up and running,
so that you can run PHP scripts offline. Pay particular attention to
where files are stored, and to the "localhost" address. Linux Users
There are quite a few sites out there to help Linux users get up and running with the Apache server and PHP. Here are three sites that are worth checking out:
http://en.wikipedia.org/wiki/LAMP_(software_bundle)
http://www.php-mysql-tutorial.com/wikis/php-tutorial/installing-php-and-mysql.aspx
http://www.phpfreaks.com/tutorials/12/0.php
If you know any better ones, we'd be interested in hearing from you!Windows Users
OK, back to Wampserver and Windows. First, you need to download the software. You can get it from here (this site is nothing to do with ours, by the way):Be sure to click the link for Presentation, as well as the link for Downloads. The Presentation page shows you how to install the file.
0 comments:
Post a Comment