Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 25th, 2010, 12:27 AM
Registered User
 
Join Date: Jan 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question Error on page 87

I have run http://localhost/db_ch03-1.php in my browser, the following statement appear;

Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\db_ch03-1.php on line 3

i have follow all the instruction included to grant user bp6am, identified by bp6ampass. What else do i left?? any suggestion. thanks for the help.
Reply With Quote
  #2 (permalink)  
Old February 1st, 2010, 12:20 AM
Registered User
 
Join Date: Jan 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default I have Solution

Might its not a very intelligent act,I decided to uninstall my Apache and other software needed and change to Wampserever. I still can run the code successfully. Just change the localhost to 127.0.0.1 and bp6am to root.
Reply With Quote
  #3 (permalink)  
Old February 1st, 2010, 01:41 AM
Authorized User
Points: 105, Level: 2
Points: 105, Level: 2 Points: 105, Level: 2 Points: 105, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2010
Location: Wolfeboro, New Hampshire / Boston
Posts: 25
Thanks: 1
Thanked 4 Times in 4 Posts
Smile

Hi Nurul,

I'm not an official Wrox person, just a fellow student. So take this with a grain of salt.

It was a good idea using a package. Because of the delay in releasing PHP6, the book's instructions are not "yet" really accurate. The reason you got that error message had to do with configuration issues between the AMP modules. The PHP modules for handling MySql were not configured properly. Your package should have and probably did handle all of this for you.

Just a piece of advice. It would be good to know what versions of each piece you ended up with (each piece being Apache, MySql, and PHP). this might come into play as you go through the book. Running the phpinfo() function would be a good place to start. You may not have noticed this earlier, but the result of that function probably didn't show a MySql section, while now it does.

Good luck with the rest of the book. I'm on Chapter 7 now and I've found it to be excellent once you get past those initial configuration issues.

Best Regards,
Boz
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
error occured in exercise at pg.87 hafizaismail BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 1 January 22nd, 2010 01:26 PM
Stuck on chapter 4 page 87. misheck BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 2 January 10th, 2010 12:34 PM
AddModalErrors and AllCountries page 87 View Data Dictionary barnettrob BOOK: Professional ASP.NET MVC 1.0 ISBN: 978-0-470-38461-9 8 October 21st, 2009 08:07 PM
Page 87 Golarin BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 3 September 27th, 2009 03:58 AM



All times are GMT -4. The time now is 03:23 AM.


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