Editing of PHP.iNi

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Flash05
Forum Commoner
Posts: 25
Joined: Thu Dec 18, 2003 3:16 am

Editing of PHP.iNi

Post by Flash05 »

In Windows XP/iiS, if you edit the php.ini; let us say error_reporting turn on from off. Will take effect immediately? Incase not, should I restart the whole pc or the service only? Tnx for help... :D
User avatar
phpcoder
Forum Contributor
Posts: 158
Joined: Sat Nov 02, 2002 1:18 pm
Location: Manchester, UK

Post by phpcoder »

I think restarting machine is better coz i did editing on linux machine and after restarting the chnges took effect
breath
Forum Newbie
Posts: 1
Joined: Mon Jan 19, 2004 3:00 am
Location: istanbul, turkey
Contact:

Post by breath »

restart your iis server is enough..
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

just restart the server, that should be sufficient
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Yeah, just restart the server, no need to restart the machine.

Mark
Flash05
Forum Commoner
Posts: 25
Joined: Thu Dec 18, 2003 3:16 am

Post by Flash05 »

Follow up: i was able to use localhost iis/smtp server in mail(). Unfortunately, when i got back to my pc i can no longer send. Im sure with my code. Is there a setting on how I can send again using my iis' default smtp? Tnx!
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Could you explain a bit more? Did you change the value for the smtp server and it stopped working? Did localhost work as the value and then, for no explicable reason stop working?

Mac
Flash05
Forum Commoner
Posts: 25
Joined: Thu Dec 18, 2003 3:16 am

Post by Flash05 »

I am using XP/iiS5.01 and was testing mail(). I was able to send some email to my inbox. The value of SMTP on my php.ini was localhost and i commented out the mail_from. Then when I got back again to test my script, i no longer works. Is there a setting in php.ini or iis or smtp to be able for me send again? Please help me. tnx!
Post Reply