| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Why won't Apache work? | |
|---|---|
| Tweet Topic Started: Mar 16 2005, 11:49 AM (248 Views) | |
| Dennis | Mar 16 2005, 11:49 AM Post #1 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I'm trying to install PHP 4.3.10 as an Apache 2 Module. I edit the httpd.conf file, and add the following to it:
That's what the PHP docs said to do. I save that, then try starting Apache. It always tells me that it cannot be found. I tried putting it everywhere I can, but it never works. Any ideas why? |
![]() |
|
| Stefan | Mar 16 2005, 12:24 PM Post #2 |
![]()
Mew?
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Maybe if you add the PHP directory to your Path environment variable? It could be that the directory (and because of that, the DLL) isn't in the search path. |
![]() |
|
| Dennis | Mar 16 2005, 01:36 PM Post #3 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
errr... English please? How would I fix that? |
![]() |
|
| Seth | Mar 16 2005, 02:03 PM Post #4 |
|
I has a pony
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You should copy that php4apache DLL over to your Apache root directory IIRC. Unless you want to go boinking with paths (which are in Control Panel > System > Advanced > Environment Variables). |
![]() |
|
| Dennis | Mar 16 2005, 05:04 PM Post #5 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
So.. instead of C:/php/sapi, I'd do c:/apache/php4apache2.dll? |
![]() |
|
| Seth | Mar 16 2005, 06:27 PM Post #6 |
|
I has a pony
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
No, take out the fully qualified path. I'll go poke up my httpd.conf when I get home, k? |
![]() |
|
| Seth | Mar 16 2005, 09:03 PM Post #7 |
|
I has a pony
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Mmkay, I fully renig what I said before.
Shows you how long it's been since I set up PHP. |
![]() |
|
| Seth | Mar 16 2005, 09:04 PM Post #8 |
|
I has a pony
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
And then you should add C:\PHP to your PATH. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Technology Chat · Next Topic » |
| Track Topic · E-mail Topic |
2:37 PM Jul 11
|



![]](../../../../0/1/0/p601690/pipright.png)




2:37 PM Jul 11