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 March 17th, 2010, 07:28 PM
Registered User
 
Join Date: Mar 2010
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default Chapter 1, page 11/12

Hey there, i just bought this book from amazon, and am really keen to get stuck in...

but whilst configuring PHP to use MySQL, im finding that the "libmysql.dll" doesnt exist in my C:\PHP location...

then further on, when trying to configure Apache to use PHP, i find that php6apache2_2.dll doesnt exist in the C:\PHP\ location either

So ive done a google search to find that there is no release date confirmed for PHP 6, although this book is aimed at PHP version 6.0.0 ?

I currently have v. 5.3.2

Can someone tell me im being an idiot and tell me what ive done wrong :)

- Ryan
 
Old March 17th, 2010, 07:33 PM
Friend of Wrox
 
Join Date: Dec 2008
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default

libmysql.dll is part of your mysql installation, and under bin directory of mysql. If you are on windows, you need to copy that file to windows\system32 folder to make your php work with mysql.

As you are using php5, the other file you are looking for is really php5apache2_2.dll. You don't need to move this file around.
The Following User Says Thank You to PeterPeiGuo For This Useful Post:
jonzi_456 (March 17th, 2010)
 
Old March 17th, 2010, 07:43 PM
Registered User
 
Join Date: Mar 2010
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Thanks for your help,

The file "php5apache2_2.dll" is still missing though - I have a "php5.dll" but nothing that referes to apache2_2

not in the C:\PHP
or in any other directory inside that top-level directory

cheers

- Ryan
 
Old March 17th, 2010, 07:50 PM
Friend of Wrox
 
Join Date: Dec 2008
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default

Interesting, I have the same version of PHP as you do. My PHP was installed under e:\php, and here is a list of files in the top level directory (Maybe you want try to install again):
Code:
 Volume in drive E has no label.
 Volume Serial Number is 2A04-FCE7

 Directory of E:\PHP

[.]                        [..]
a.txt                      [dev]
[ext]                      go-pear.bat
install.txt                libeay32.dll
libpq.dll                  license.txt
main.php                   news.txt
[PEAR]                     phar.phar.bar
pharcommand.phar           php-win.exe
php.exe                    php.gif
php.ini                    php5apache2_2.dll
php5apache2_2_filter.dll   php5embed.lib
php5ts.dll                 php_manual_en.chm
readme-redist-bins.txt     ssleay32.dll
              21 File(s)     19,704,563 bytes
               5 Dir(s)  78,828,146,688 bytes free

Last edited by PeterPeiGuo; March 17th, 2010 at 07:52 PM..
 
Old March 17th, 2010, 07:53 PM
Registered User
 
Join Date: Mar 2010
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default

oh dear, i'll download it again...

On www.php.net, there are Thread safe versions and Non-thread safe versions

I downloaded the "VC9 x86 Non Thread Safe" Version last time, so i'll try the Thread Safe version :)

Thanks

- Ryan
 
Old March 17th, 2010, 07:58 PM
Friend of Wrox
 
Join Date: Dec 2008
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default

Let me know if you need more help. Good luck!
 
Old April 21st, 2010, 03:22 PM
Registered User
 
Join Date: Apr 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default chapter1-page8&11

Hi Peter,

I am new to PHP and bought this book from a local store...while installing Apache(page8), step 13, Select PATH from system variables......add the path to Apache's bin directory to end of list...how is this step done?...i am not sure how to add the path into bin directory...same issue while installing PHP..step 8 on page 11.

Please help...

Cheers
Liju
 
Old April 21st, 2010, 09:18 PM
Friend of Wrox
 
Join Date: Dec 2008
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default

Search on-line for something like "windows set environment variable" (assume you use windows), some of the search results will for sure lead you to pages that show you how to set environment variables through control panel.

The environment variable that you want to change is called PATH.

Good luck!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 11 Page 354 skijor BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 6 August 9th, 2009 08:02 AM
Chapter 11/12 Admin Login's msnodgrass BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 September 23rd, 2006 09:45 PM
Chapter 1, page 11 typo? tumana BOOK Beginning Linux Programming, 3rd Edition 4 August 25th, 2006 10:43 AM





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