| | |
IIS & PHP configuration-PHP.ini instructions ignored
![]() |
•
•
Join Date: Nov 2005
Posts: 2
Reputation:
Solved Threads: 0
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 !!!
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 !!!
![]() |
Similar Threads
- Php ini setting--mail function (PHP)
- IIS & PHP Setup-Configuring for multiple sites (Windows Servers and IIS)
- php.ini file not being read (PHP)
Other Threads in the Windows Servers and IIS Forum
- Previous Thread: IIS & PHP Setup-Configuring for multiple sites
- Next Thread: I am having Seriour problems with IIS 5.1 Need Help!
| Thread Tools | Search this Thread |





