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

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 November 30th, 2005, 11:20 AM
homeshow homeshow is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Posts: 6 homeshow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 22 sec
Reputation Power: 0
IIS & PHP configuration-PHP.ini instructions ignored

Re: IIS & PHP configuration-PHP.ini instructions ignored
My server setup: Win2k, IIS5.0, PHP 4.0.10 running as ISAPI

Problem 1: PHP.ini settings ignored. Not too sure how to address this one. I've tried changing some settings in the PHP.ini file. Some just do not seem to take.

Example ~ there's a setting called SMTP that tells PHP what server to use. I change from the default, "localhost", to "smtp.mydomain.com" and reboot, but phpinfo() still shows localhost.

Problem 2 ~ SENDMAIL_FROM is a setting that's supposed to be a global “From” for PHP to use in case individual scripts don't specify that email header. Making a change in php.ini and rebooting doesn't make a difference in what phpinfo() shows, which is nothing! PHP.ini settings can be overridden by a function call from individual scripts, but they have to be overridden from each script that needs the functionality.

Is there a better way to force PHP to use all the settings in the PHP.ini file?

Thanks for your assistance !!!

Reply With Quote
  #2  
Old November 30th, 2005, 12:36 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,959 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 15 h 59 m 14 sec
Reputation Power: 802
phpinfo() shows you the php.ini file that's active, make sure you are editing the correct php.ini file if you have more than one. If you still have problems you'll have to look in php documentation.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved
of it. --Mark Twain

Reply With Quote
  #3  
Old December 5th, 2005, 02:54 PM
homeshow homeshow is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Posts: 6 homeshow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 22 sec
Reputation Power: 0
Closed

Thanks Doug for your comments.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > IIS & PHP configuration-PHP.ini instructions ignored


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 1 hosted by Hostway
Stay green...Green IT