mikecicc Posted October 26, 2006 Share Posted October 26, 2006 kI've been trying to utilize PHP's send mail function, problem is i need to change the PHP.ini file in order to swicthed around the default values of SMTP_Port and SMTP Server, By default it's set to 'localhost' i need it to use my mail server; mail.whatever.com. ive been making the changes in the PHP.ini file under my c: on my web serv...don't see the php.ini file anywhere else, ive restarted my IIS numerous times, ive tried a bunch of things, any ideas? possibly an alternative route such as a PHP script which will chaneg these values fro me ? thanks -mikebtw. when i do a phpinfo(); it thinks the config file (php.ini) is in c:\WINNt (which its not)...and it still dont recgnize the changes ive made to php.ini, although when i pull up the .ini file i see the changes...its as if i need to recompile php! .im lost please help :-[ Quote Link to comment https://forums.phpfreaks.com/topic/25240-phpini-mail-function/ Share on other sites More sharing options...
Barand Posted October 28, 2006 Share Posted October 28, 2006 Run this script[code]<?phpphpinfo();?>[/code]It will tell you the location of php.ini Quote Link to comment https://forums.phpfreaks.com/topic/25240-phpini-mail-function/#findComment-115828 Share on other sites More sharing options...
mikecicc Posted November 2, 2006 Author Share Posted November 2, 2006 It was saying PHP.INI was in C:\WINNT on my local web server. which is wasn't. infact it was located : C:\PHP\php.ini but in any case, i changed the configuration of PHP from ASAPI module to a CGI, now PHP properly reads from php.ini located in my c:\PHP directory, which is great, now im experiecing another problem;when i attempt to open; contact.php for example, or a majority of my .php documents, i get prompted to enter a login / password.i login in as administrator and it takes me to the document just fine, everything works splended, but how do i turn of the CGI Authencation???????im running an IIS server on windows 2000 server =[....although id like to go to apche , not everyone agrees here Quote Link to comment https://forums.phpfreaks.com/topic/25240-phpini-mail-function/#findComment-118498 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.