Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 3rd, 2002, 11:19 PM
Amorales Amorales is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 2 Amorales User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Problems running PHP 4.1.1 as a module on Apache 1.3.23 on XP

I've followed all the instructions for configuring Apache to run PHP scripts. I've copied the necessary .dll's to the system folders and have added the necessary lines to the .httpd file, and whenever I try to start Apache (service) it gives me the same message. It says that Apache started up but shut down and that some services automatically shut down when they have nothing to do. Yet, it works fine when I comment out the LoadModule line. When I comment out the LoadModule line, I get the option to either open the file or save the file. Could this have something to do with Permissions? I appreciate any help with this, I figure it's some stupid mistake I'm making somewhere but, I can't figure out what I'm doing wrong! Please help!!!!

Last edited by Amorales : March 3rd, 2002 at 11:23 PM.

Reply With Quote
  #2  
Old March 11th, 2002, 03:55 PM
Clark Clark is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: St Louis, MO
Posts: 20 Clark User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Clark Send a message via AIM to Clark
Make sure that you copied the "php4ts.dll" and "php4apache.dll" to your Windows Directory. I copied the files Apache told me too, but I forgot the first listed here. Apache wouldn't launch for me either until I did this.

~Clark

Reply With Quote
  #3  
Old March 14th, 2002, 08:14 PM
Bisifiniti Bisifiniti is offline
The Bisifiniti
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 25 Bisifiniti User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Bisifiniti
I didn't do php4apache.dll, I just did php4ts.dll. I'm on the XP/Apache/PHP setup same as you.
__________________

Reply With Quote
  #4  
Old March 25th, 2002, 10:58 AM
firepages's Avatar
firepages firepages is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2000
Location: Perth West Australia
Posts: 741 firepages User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
if you stick you php4apache.dll the php4ts.dll && .lib in your /php/sapi directory & make sure you have a valid php.ini in your winnt directory && your httpd.conf looks like this ..

LoadModule php4_module c:/path/to/php/sapi/php4apache.dll
AddType application/x-httpd-php .php4 .php .php3 .inc

then it can not - not work

you can test apache config by opening a comand window and typing

c:\path\to\apache\apache.exe -t

which will let you know if config is good or bad & probably a clue as to where the problem is.
__________________
resistance is no longer futile :: 423

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Problems running PHP 4.1.1 as a module on Apache 1.3.23 on XP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT