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

November 18th, 2004, 12:40 AM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
php4apache2.dll
I am running Windows XP with all current updates. I installed Apache2 and php4 per instructions. Problem occurs when modifying the httpd.conf file to include:
LoadModule php4_module c:php/sapi/php4apache2.dll
With the file saved there or anywhere else I could think of or have seen suggestions for, the error is the same:
Cannot load c:/php/sapi/php4apache2.dll : The specified module could not be found.
I'm not crazy, I know the file is there. Something is preventing it from being recognized or loaded. I have seen another post that suggested the problem could be related to use of the SYSTEM account by the Apache service.
Suggestion would be greatly appreciated.
|
|

November 29th, 2004, 02:22 PM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I have the same exact problem.Apache will not start if this line is in the conf file. If you comment out, Apache starts but you can not parse PHP.
Does anyone have a solution?
|
|

November 29th, 2004, 11:05 PM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Took someone else's suggestion and download an EXE that installs all 3 plus more. Took about 30 minutes to complete. I am up and running and starting to use the book.
|
|

November 30th, 2004, 10:17 AM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I deleted everything and then reinstalled after turning off my firewall and virus protection. I don't know if that was really the cure but if works now.
|
|

December 1st, 2004, 08:25 AM
|
|
Registered User
|
|
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Althoug the error message is:
Cannot load c:/php/sapi/php4apache2.dll : The specified module could not be found.
the problem is that php4ts.dll can not be found. A solution: move the dll files from PHP_HOME/sapi dir to PHP_HOME/ and then configure:
LoadModule php4_module c:/php
Now php4ts.dll is found, because it's in the same directory, and apache should now start!
regards, tplehton
Quote:
quote:Originally posted by walt
I am running Windows XP with all current updates. I installed Apache2 and php4 per instructions. Problem occurs when modifying the httpd.conf file to include:
LoadModule php4_module c:php/sapi/php4apache2.dll
With the file saved there or anywhere else I could think of or have seen suggestions for, the error is the same:
Cannot load c:/php/sapi/php4apache2.dll : The specified module could not be found.
I'm not crazy, I know the file is there. Something is preventing it from being recognized or loaded. I have seen another post that suggested the problem could be related to use of the SYSTEM account by the Apache service.
Suggestion would be greatly appreciated.
|
|
|

December 18th, 2005, 09:54 AM
|
|
Registered User
|
|
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hey, its real annoying you have to sign up to post.
But here it goes, if you dont have a sapi folder its because you've downloaded the wrong php version, download the ziped folder.
If it doesn't run, yes its because it cant find php4ts.dll, it needs to be added to the system variable PATH. But heres the catch, if your using Apache as a service like me then you have to note that it cant be added to the user variable path, it needs to be system wide.
To do this simply do:
Start > Control Panels > System > Advanced Tab > Environmental Variables > Edit Variable `PATH' under `System Variables'
Add the path to your PHP folder and note the ';' seperation. So in my case it would be: ";C:\php\;".
Good luck
|
|

November 15th, 2007, 09:16 AM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
quote:Originally posted by bbcakes
Hey, its real annoying you have to sign up to post.
But here it goes, if you dont have a sapi folder its because you've downloaded the wrong php version, download the ziped folder.
If it doesn't run, yes its because it cant find php4ts.dll, it needs to be added to the system variable PATH. But heres the catch, if your using Apache as a service like me then you have to note that it cant be added to the user variable path, it needs to be system wide.
To do this simply do:
Start > Control Panels > System > Advanced Tab > Environmental Variables > Edit Variable `PATH' under `System Variables'
Add the path to your PHP folder and note the ';' seperation. So in my case it would be: ";C:\php\;".
Good luck
|
what exactly do u mean here. im kind of lost.
mainly with this part here:
Code:
To do this simply do:
Start > Control Panels > System > Advanced Tab > Environmental Variables > Edit Variable `PATH' under `System Variables'
Add the path to your PHP folder and note the ';' seperation. So in my case it would be: ";C:\php\;".
|
|
 |