Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP 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 5th, 2004, 08:33 PM
Authorized User
 
Join Date: Jul 2004
Location: , , .
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't find php/sapi/php4apache2.dll

Hi,

In setting up PHP on my computer, I'm supposed to have the following path:

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

I've loaded both PHP 4.3.3 AND 5.0

I did a search and can't fing "php4apache2.dll" anywhere on my computer. I can't find a Sapi folder either. Did I do something wrong?

Thanks.

Kara

Reply With Quote
  #2 (permalink)  
Old September 16th, 2004, 03:20 AM
Registered User
 
Join Date: Sep 2004
Location: Cerritos, CA, .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Kara,

I am actually experiencing the same issue as you too. I noticed that you wrote this a couple weeks ago. I was wondering if you have solved it? Thanks... Feel free to email me at liujimmy@usc.edu . Thanks again.

Jimmy

Reply With Quote
  #3 (permalink)  
Old September 16th, 2004, 03:23 AM
Registered User
 
Join Date: Sep 2004
Location: Cerritos, CA, .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I was able to find the folder and the .dll file. But for me, whenever I have that line: LoadModule .... inserted into the .conf file, the server would not let me start. That's my situation.

Jimmy

Reply With Quote
  #4 (permalink)  
Old September 16th, 2004, 04:40 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Did you download the .zip archive of PHP? That download has all the necessary .dll files. Once downloaded, copy the sapi folder and any other folders to your PHP folder.

For PHP to work as an Apache module you also copy 'php4ts.dll' to the System32 directory.

HTH!



Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail
Reply With Quote
  #5 (permalink)  
Old September 16th, 2004, 02:24 PM
Registered User
 
Join Date: Sep 2004
Location: Cerritos, CA, .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Richard,

Thanks for responding to our posts. Are the following .dll files the necessary files you mentioned? These are in the sapi folder.

php4activescript.dll
php4apache2.dll
php4apache.dll
php4isapi.dll
php4nsapi.dll
php4pi3web.dll
phpsrvlt.dll

Also, I was wondering if you could tell me where the System32 folder is? Many Thanks!

Regards,
Jimmy

Reply With Quote
  #6 (permalink)  
Old September 16th, 2004, 06:57 PM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Those are indeed the .dlls that appear in the zip download.

system32 is in the systemroot directory, typically the WINDOWS directory.


Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail
Reply With Quote
  #7 (permalink)  
Old September 16th, 2004, 06:58 PM
Registered User
 
Join Date: Sep 2004
Location: Cerritos, CA, .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Richart,

I got it! Thanks!

Jimmy

Reply With Quote
  #8 (permalink)  
Old October 8th, 2008, 08:54 AM
Registered User
 
Join Date: Oct 2008
Location: London, , United Kingdom.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ramon
Default

Hi richard, I'm Having the same problem as liujimmy, Apache is running fine and I installed all PHP files the sapi folder is there and all DLL files also,I followed your advice and copied the file "php4ts.dll" to the system32, but whenever I have that line: LoadModule php4_module .... inserted into the .conf file, the server would not let me start and give me the error message "the requested operation has failed". I've been trying to fix this for the last 20 hours...can you help me on that please...


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
php4apache2.dll walt BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 6 November 15th, 2007 09:16 AM
Missing php4apache2.dll kara333 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 September 14th, 2004 08:20 AM
Can't find Sapi folder kara333 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 September 5th, 2004 07:38 PM
Cannot find dll kosla78 Pro VB 6 1 April 15th, 2004 08:45 AM
How do I find the .dll name for a namespace? cjo ASP.NET 1.0 and 1.1 Basics 2 November 28th, 2003 03:47 PM



All times are GMT -4. The time now is 04:08 AM.


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