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 February 27th, 2007, 08:03 AM
Registered User
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to timoraut
Default

Hi all,

I was facing same kind of problems lately when I installed all the new apache, php and mysql servers to my computer.

I faced lot of problems, searched trough the internet and couldn't get any solution really. Lot of good tries. And the mysqli and mysql extensions were shown in php_info()

Then I finally stopped reading and tried to solve the problem somehow.

I removed all the applications mentioned above. Deleted all the copies of php_mysqli.dll and also all the copies of mysql libmysql.dll (some solutions were to copy that everywhere :))

Downloaded the new mysql alpha server. version 5.2.3 (Falcon) also downloaded php_5.2.0_mysqli_5.0.27-win32.zip from mysql site. Tho had done that earlier already. Also downloaded php_5.2.0_mysql_5.0.27-win32.zip from mysql site. The version of those files that are provided with the new PHP 5.2.1 are not recommended to use. Not by PHP nor MySQL communities.

Installed the Apache like usually, not too much problems.

Installed the PHP with extensions 'mysql' and 'mysqli'. This will automatically uncomment the lines in php.ini file and will create the ext folder. Just in case, installed PHP to C:\PHP\ like is recommended. Even this is not mandatory. And let the PHP installation software to modify apache files.

Extracted the zip files to C:\php\ext and copied the libmysql.dll to C:\php folder. Just in case, added C:\PHP and C:\PHP\ext in to system PATH. Can be done from Control Panel -> System -> Advanced -> Environment Variables. Add the the paths to the PATH: section. Divide them with ';' like they are made earlier in the path.

--- In this point restart the computer. The PATH variables do not update with out restart. ---

Installed MySQL server, configured it to use port 3306, on earlier tries i had this disabled and could not get it working. So now I'm keeping the port 3306 open. But hopefully there won't be any problems in future :D

restarted the apache server, tested php. Checked php_info() the mysql and mysqli were installed. Made small test run with mysql_connect() and voila!! it was working. Only took about 12 work hours :D

Hopefully I made any sense, not fluent in english. And not the best writer. I work in technical support and am lot better verbally to instruct. ;)

 
Old February 27th, 2007, 08:05 AM
Registered User
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to timoraut
Default

Sorry forgot to mention versions that I use

Apache 2.2.4
MySQL 5.2.3
PHP 5.2.1

Hopefully someone will find solution to problem from here.

BR,
Timo






Similar Threads
Thread Thread Starter Forum Replies Last Post
Compilation FATAL ERROR bouca91 BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 1 August 17th, 2008 01:57 PM
Fatal Error - A tough one! gargamel BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 3 April 4th, 2007 04:25 PM
Fatal Error?? dparsons ASP.NET 1.0 and 1.1 Professional 0 December 18th, 2006 01:55 PM
fatal error!!!! Ashleek007 Beginning PHP 6 October 9th, 2004 10:25 AM
Fatal error: singhzubin BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 2 April 11th, 2004 04:14 AM





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