Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 7th, 2003, 10:27 PM
Authorized User
 
Join Date: Dec 2003
Location: Phnom Penh, KH, Cambodia.
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.

Regards.

Reply With Quote
  #2 (permalink)  
Old December 8th, 2003, 12:15 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

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

PHP: http://www.php.net

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

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.

: )
Rich


:::::::::::::::::::::::::::::::::
Smiling Souls
http://www.smilingsouls.net
:::::::::::::::::::::::::::::::::
Reply With Quote
  #3 (permalink)  
Old December 12th, 2003, 11:20 AM
Authorized User
 
Join Date: Dec 2003
Location: Phnom Penh, KH, Cambodia.
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

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

Hope to get success!!!

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 12:23 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.