Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6
This is the forum to discuss the Wrox book Beginning PHP, Apache, MySQLWeb Development by Michael K. Glass, Yann Le Scouarnec, Elizabeth Naramore, Gary Mailer, Jeremy Stolz, Jason Gerner; ISBN: 9780764557446
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 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 30th, 2005, 12:32 PM
Registered User
 
Join Date: Mar 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default "Adding PHP to the Equation"

I am just getting started in chapter 1.

I have Apache 2 up and running and I am working adding PHP4. I have added:

AddType application/x-httpd-php .php3 .php
AddType application/x-httpd-php-source .phps

LoadModule php4_module c:/php/sapi/php4apache2.dll

I have triple check the file location of the dll. When I restart Apache it dies and gets a "service-specific error code 1". The event log enter is as follows:

The Apache service named reported the following error:
>>> Cannot load C:/Temp/php4apache2.dll into server: The specified module could not be found.

If I comment out the LoadModule line it restarts ok.

Any help is greatly appreciated.

 
Old January 4th, 2006, 07:21 PM
Registered User
 
Join Date: Jan 2006
Location: Richmond, Virginia, USA.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to SeniorNSU
Default

Hey have you gotten this part to work yet. I'm also having trouble with this area. please help me i need this for a senior project

 
Old July 1st, 2006, 04:34 AM
Registered User
 
Join Date: Jul 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have also had this error and I have read a lot of forums to try to find out why it is hapening, I have tried all sorts, windows firewall Setting it as a link in the Enviroment variables...

But nothing I have tried seems to work.

If anybody has ANY suggestions please let me know.

Thanks.

 
Old July 5th, 2006, 08:59 PM
Registered User
 
Join Date: Jul 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had the same problem today. I was using Apache 2.2 with PHP 4.1. It worked okay AFTER I switched to Apache 2.0.58. When I read the stuff at php.net carefully, it said the Apache 2 modules were experimental. And it worked!





Similar Threads
Thread Thread Starter Forum Replies Last Post
MC++ quadratic equation problem Chrono251 VS.NET 2002/2003 0 December 18th, 2006 04:09 AM
adding php code in javascript chayanvinayak Javascript How-To 2 December 18th, 2006 02:33 AM
Chapter 1 - Adding PHP to the Equation Chudz BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 3 June 27th, 2005 06:21 PM
Chapter 1 - Adding PHP to the Equation Chudz BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 7 June 22nd, 2005 11:32 AM
Adding php to the equation problem dreadzz BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 June 22nd, 2005 11:30 AM





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