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, 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 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 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.

Reply With Quote
  #2 (permalink)  
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

Reply With Quote
  #3 (permalink)  
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.

Reply With Quote
  #4 (permalink)  
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!

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



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


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