Wrox Programmer Forums
|
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 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 November 11th, 2006, 01:06 AM
Registered User
 
Join Date: Nov 2006
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
 
Old January 6th, 2007, 08:03 PM
Registered User
 
Join Date: Dec 2006
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.

 
Old January 8th, 2007, 01:55 PM
Authorized User
 
Join Date: Jul 2006
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).






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 06: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 04: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





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