Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143
This is the forum to discuss the Wrox book Beginning PHP 6, Apache, MySQL 6 Web Development by Timothy Boronczyk, Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz; ISBN: 9780470391143
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 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
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 3rd, 2009, 02:06 PM
Registered User
Join Date: Jul 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default first program problem, page 23

I got apache, php, and mysql loaded and tested as per the book and thought i was good to go. Then I entered firstprog.php and saved it as instructed on page 23 when I went to localhost/firstprog.php with my browser, the page cannot be found error 404 appeared. I changed my path to include the directory i created for the programs which is c:\php\phpprogs. I also tried to put the entire path following localhost in the browser address. I restarted the machine. all to no avail. I looked at the errata and did not see any issues there either. any suggestions?. the it works screen comes up fine when i just use localhost alone but am stuck. thanks dennis lee
the book i am using is php6, apache, mysql web development isbn 978-0-470-39114-3
Reply With Quote
  #2 (permalink)  
Old August 23rd, 2009, 08:26 PM
Registered User
Join Date: Aug 2009
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post

Localhost refers back to this location in your Apache server.

C:\Program Files\Apache Software Foundation\Apache2.2\htdocs

if you put your programs inside htdocs folder, then you can use /localhost/yourfilename.php

Good luck
Reply With Quote

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
Executing a java program from an ASP page Anirban Dhar Classic ASP Professional 1 July 2nd, 2006 10:58 AM
Problem with a program from book karistinakise Java Basics 1 March 14th, 2006 04:31 AM
Write a program to produce a contents page eapsokha Java GUI 1 September 7th, 2004 11:19 AM
Page 23, Point 2, Error 1046 carlitio BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 9 July 9th, 2004 01:52 PM
Chapter 1, Page 23 golden_drifter BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 7 July 9th, 2004 12:12 AM

All times are GMT -4. The time now is 08:16 PM.

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