Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 Search this Thread Display Modes
  #1 (permalink)  
Old September 8th, 2010, 03:07 PM
Registered User
 
Join Date: Mar 2009
Location: Derby UK
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...
Reply With Quote
  #2 (permalink)  
Old September 9th, 2010, 11:53 AM
Authorized User
Points: 152, Level: 3
Points: 152, Level: 3 Points: 152, Level: 3 Points: 152, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2010
Location: Bra - Italy
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
Reply With Quote
  #3 (permalink)  
Old September 21st, 2010, 07:40 AM
Registered User
 
Join Date: Mar 2009
Location: Derby UK
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...
Reply With Quote
  #4 (permalink)  
Old September 21st, 2010, 04:08 PM
Authorized User
Points: 152, Level: 3
Points: 152, Level: 3 Points: 152, Level: 3 Points: 152, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2010
Location: Bra - Italy
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!!
Reply With Quote
  #5 (permalink)  
Old September 23rd, 2010, 06:32 AM
Registered User
 
Join Date: Mar 2009
Location: Derby UK
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
Reply With Quote
  #6 (permalink)  
Old September 23rd, 2010, 06:40 AM
Registered User
 
Join Date: Mar 2009
Location: Derby UK
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...
Reply With Quote
  #7 (permalink)  
Old September 23rd, 2010, 05:30 PM
Registered User
 
Join Date: Mar 2009
Location: Derby UK
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
Reply With Quote
  #8 (permalink)  
Old September 26th, 2010, 08:39 AM
Authorized User
Points: 152, Level: 3
Points: 152, Level: 3 Points: 152, Level: 3 Points: 152, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2010
Location: Bra - Italy
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 :)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
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



All times are GMT -4. The time now is 08:24 PM.


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