Wrox Programmer Forums
|
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 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 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
 
Old August 23rd, 2009, 08:26 PM
Registered User
 
Join Date: Aug 2009
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default

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





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





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