Wrox Programmer Forums
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 7th, 2003, 10:27 PM
Authorized User
Join Date: Dec 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ysiline Send a message via Yahoo to ysiline
Default PHP newer

HI everyone!

I just wonder that how can I do PHP coding with full function and other option like a real PHP on linux?, that actually I want to run it on Window plateform.

please give some idea about this cuz I am new to PHP and want to start it quickly since I have some small experience with ASP before.


Old December 8th, 2003, 12:15 AM
richard.york's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts

HTTP server:
Apache: http://www.apache.org
Xitami: http://www.xitami.com

PHP: http://www.php.net

Database Servers:
MySQL: http://www.mysql.com
PostgreSQL: http://www.postgresql.com
Oracle: http://www.oracle.com

SMTP server: http://www.postcastserver.com/

First you'll need to install an HTTP server. Personally I like Xitami, it available for free and its about the most idiot-proof to set-up. Apache is popular, and free, and there is a large community there to help you get it going. That's really up to you there's plenty of documentation on php.net as well as whichever server website you like if you use certain versions of Windows you might well already have Microsoft IIs on there.

After you have downloaded and installed your HTTP server go to PHP.net and download and install PHP, probably best to go with the latest non-beta Windows Installer. This will present an option to automatically configure your HTTP server to run with PHP during the install process.

MySQL is a popular database to run with PHP, all the necessary functions are already in the PHP that you install without need to install an additional PHP extension. All the extra PHP extensions are available in the other (larger) download that you see on the PHP site.

You may also need an SMTP server if you plan to use mail functionality on a WIN32 system.. I like PostCast its easy to set-up and install and here again also free. You can also specify a remote SMTP server in the php.ini file which is a configuration file that PHP creates for tweaking of settings, generally this is created in the C:\Windows directory, or wherever Windows is installed. This file controls where extensions are located, error reporting settings, something called register globals.. have a good look at this file (you can open it in any text editor).

After that you're good to go.
There are also several sites out there to help you learn the language, the best is the php manual again at http://www.php.net. But there's http://www.phpfreaks.com http://www.phpbuilder.com ...etc.

To test your HTTP server type in http://localhost

Create a file named index.php and save it in the root www folder with the following PHP code: <?php phpinfo(); ?> This should print out a long detailed listing of PHP configuration settings.

And if you get lost in the process come back to us and I'm sure someone will help.

: )

Smiling Souls
Old December 12th, 2003, 11:20 AM
Authorized User
Join Date: Dec 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ysiline Send a message via Yahoo to ysiline

Thank you, I'll do as what you suggested.

Hope to get success!!!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Beg. PHP 5 > Ch. 11 - fetch_field.php crater BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 0 January 2nd, 2007 12:20 PM
PHP Warning: PHP Startup: Unable to load dynamic l surendran Beginning PHP 1 May 29th, 2006 08:49 AM
begin php & mysql - chapter 12, user_form.php jon_stubber Beginning PHP 1 March 9th, 2006 10:57 AM
Error: movie.php & commit.php on p182-186, ch6 willburke BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 October 12th, 2004 02:48 PM
newer programmer needs assistance Ankleburner Classic ASP Basics 1 October 31st, 2003 01:34 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.