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

September 5th, 2004, 08:33 PM
|
|
Authorized User
|
|
Join Date: Jul 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

September 16th, 2004, 03:20 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 [email protected] . Thanks again.
Jimmy
|
|

September 16th, 2004, 03:23 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

September 16th, 2004, 04:40 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
|
|
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
|
|

September 16th, 2004, 02:24 PM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

September 16th, 2004, 06:57 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
|
|
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
|
|

September 16th, 2004, 06:58 PM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Richart,
I got it! Thanks!
Jimmy
|
|

October 8th, 2008, 08:54 AM
|
|
Registered User
|
|
Join Date: Oct 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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...
|
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 |
|
 |