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 PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0
This is the forum to discuss the Wrox book Beginning PHP5, Apache, and MySQL Web Development by Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz, Michael K. Glass; ISBN: 9780764579660
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 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 Display Modes
  #1 (permalink)  
Old November 11th, 2006, 01:06 AM
Registered User
 
Join Date: Nov 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default MySQL Fatal Error Chap 3, Pg 96-96

I keep getting this message when trying to execute the "createmovie" script.

Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\Test\createmovie.php on line 4

Do I need mysql admin running when I execute the script?

Also i'm unsure... when I rename my my.cnf file in c drive it changes into a speeddial icon... is this okay?

This really really sucks... I have no idea what to do next.

$pleasework
Reply With Quote
  #2 (permalink)  
Old January 6th, 2007, 08:03 PM
Registered User
 
Join Date: Dec 2006
Location: Aledo, TX, USA.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have you gone back and reviewed your Apache httpd.conf file configuration? (See pgs 10-11.) You need to make sure that you include the php5_module in your apache configuration. Otherwise the web server won't recognize the PHP5 extensions for MySQL.

The fact the the .cnf file comes up with a speeddial icon is not an issue.

Reply With Quote
  #3 (permalink)  
Old January 8th, 2007, 01:55 PM
Authorized User
 
Join Date: Jul 2006
Location: Happaugh, NY, .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can you cut/paste the code to the forum (makes i easier to debug).

Reply With Quote
Reply


Thread Tools
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
return *this - Chap 8 pg 418 proslambano BOOK: Ivor Horton's Beginning Visual C++ 2005 0 March 10th, 2007 01:19 PM
Chp 3 96-98 syntax error: ') TYPE=MYISAM saross BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 7 January 29th, 2006 05:28 PM
Connecting to the MySQLServer - page 96 sleepyd BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 5 July 16th, 2005 07:41 AM
CH 3 pg 96 Question mririe BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 8 August 25th, 2004 05:17 AM
CH3, pg 96 Hidden Form Fields wadesmart BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 19 October 28th, 2003 03:18 PM



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


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