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 September 8th, 2010, 03:07 PM
Registered User
 
Join Date: Mar 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Post problem apache working with php

Hi every one
Beginning PHP6, Apache, My SQL.
Apache httpd-2.2.16 Working on 8080 thats fine for now. MySQL all seems ok. PHP 5.3.3 installed to C:\PHP.
As soon I enter line -128 LoadModule php6_module "C:\PHP\php6apache2_2.dll" then line -388PHPIniDir "C:\PHP",
Apache will not restart...
Windows error =1
Apache logs Return:-
httpd.exe: Syntax error on line 128 of C:/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/PHP/php6apache2_2.dll into server: The specified module could not be found.
[Wed Sep 08 17:11:05 2010] [warn] (OS 995)The I/O operation has been aborted because of either a thread exit or an application request. : winnt_accept: Asynchronous AcceptEx failed.
Reading through the forum you have all passed this problem can any one help Please...
 
Old September 9th, 2010, 11:53 AM
Authorized User
 
Join Date: Jun 2010
Posts: 36
Thanks: 1
Thanked 1 Time in 1 Post
Default

Hi, sorry for imperfect english but i'm italian..

Take care about the version of PHP, the version used in the manual is not the 5.3nn but the 5.2nn, some drivers in the version are completely different, for example the libmysql.dll (not more necessary) and your php5apache2_2.dll.. You have probably the PHP 5.33 nts (non thread safe).. in this version there is not the php5apache2_2.dll, you have to download the PHP 5.33 VC6 ts (thread safe) for work good with Apache 2.2 msi and MySQL 5.1, if not download the 5.2 version more updated and try to work
 
Old September 21st, 2010, 07:40 AM
Registered User
 
Join Date: Mar 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks
I loaded php 2.2.14 after post and never set new veriable PHPRC all works ok now, I have new problem now PHP will not talk to mysql. set account in sql localhost bp6am password to bp6ampass, in Creating a database db_ch03-1.php and db_ch03-2.php I receive an error in apache logs <PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\PHP\\ext/msql.dll' - The specified module could not be found.\r\n in Unknown on line 0>
I have to go to work now I spray trains in the uk, derby. your english is good better than my italian.
Thanks again DP dave...
 
Old September 21st, 2010, 04:08 PM
Authorized User
 
Join Date: Jun 2010
Posts: 36
Thanks: 1
Thanked 1 Time in 1 Post
Default

Hi Dave

Try to put the libmysql.dll in c:/windows/system32 and then restart apache...

You can find the libmysql.dll in the PHP dir..

However.. This book is full of errors.. :(

Tell me if you have fixed the problem! bye!!
 
Old September 23rd, 2010, 06:32 AM
Registered User
 
Join Date: Mar 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Matt
sorry to be a pain
I've already done that.
Im trying to learn this php so I can keep my partners web site up to date and at the moment the database has lost it connection thats my first thing I have to try and fix the peson who made it never finished it never returned emails?. I made it go live just over a year ago, he'd been working on it since 2006. that's never good for business. Have a look when you time www.thenaturalway-wlc-uk.co.uk Ann my partner runs a weight loss business here in the UK for 16 years it all started in Australia about 25yrs ago.

Regards Dave
 
Old September 23rd, 2010, 06:40 AM
Registered User
 
Join Date: Mar 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi again
just read your message again its full of errors yes its so we have to work it out, sort the men from the boys. I must be a boy, of only 51 yrs of age...
 
Old September 23rd, 2010, 05:30 PM
Registered User
 
Join Date: Mar 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

Hi Dmatt
All ok now thanks
went into my system file to checked it was where it should have been for no reason I right clicked to look at propertys there was a message 'BLOCKED'!
I can move on now.
When you have built your web site send us a link

Regards

Dave
 
Old September 26th, 2010, 08:39 AM
Authorized User
 
Join Date: Jun 2010
Posts: 36
Thanks: 1
Thanked 1 Time in 1 Post
Default

Hi Dave, sorry if i've not reply but i was very busy.
I saw the web site you linked me, it's good! I hope that you and your partners can make big success!
For my web site i'm only at the begin.. but i've a great project, the time is not a problem, only thing must be perfect.. i've 21 y old and i want become a great web master! but, for the moment, go ahead solve these book errors and study study and study :)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with configuring Apache to Use PHP Nurul BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 0 January 24th, 2010 09:40 PM
Problem with book Beginning PHP, Apache, Mysql WD elals BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 December 9th, 2005 02:39 AM
Problem with book Beginning PHP, Apache, Mysql WD elals Beginning PHP 1 March 27th, 2005 10:02 AM
Apache PHP problem kfroiland Beginning PHP 8 February 2nd, 2005 05:26 AM
Apache loading problem. PHP kfroiland Pro PHP 0 January 21st, 2005 05:04 AM





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