I have an odd problem.
I use PHP 4.3.2
I use Apache 1.3.28 on port 8080
I use IIS5 in Win2k on port 80
Both Apache and IIS use the same PHP version, and I thought they both read
the %Systemroot%\php.ini - however, only when I execute ini_get('SMTP') in
a php page on the Apache server I get the value from PHP.ini - which is
test.com.
If I execute the exact same php file, using the exact same php.ini on the
IIS server on port 80 - I get the value: localhost - the default value for
SMTP under Win32.
PHP works on both servers, and all regular commands works on both servers.
However, I really need to use the SMTP and register_globals variables under
IIS - but I cannot make IIS read the ¤#%%& file - what should I do?
I have been stuck with this problem for a while, and it doesn't help
removing Apache from the machine, nor does it help giving every full access
to php.ini.
I hope you can help me out with this issue, it might be security related -
maybe IIS obeys some rules and Apache does not regarding %systemroot% - but
I have not been able to set the correct properties yet.
Thank you in advance,
Cheers, Flemming.