Re: configuration question

From: Date: Wed, 12 Jul 2000 22:33:32 +0000
Subject: Re: configuration question
Groups: php.general 
Request: Send a blank email to php-general+get-6325@lists.php.net to get a copy of this message
In article <20000711231959.BZWJ8304.tomts1-srv.bellnexxia.net@[64.228.17.73]>, omnivore@sympatico.ca (Dan Donaldson) wrote: > My questions are these: are the values that php uses if it doesn't find an .ini > file set from some external file or are they internal defaults? Since there is > no file where PHP says it looks for one, the values that it uses and reports in > phpinfo() - where do they come from? Internal defaults. Hard-coded, essentially. > I just don't wantto get into a situation where (since several sites are > dependent on php running on the server here) I screw something up - and since > there is apparently no configuration file to backup, I don't know how to > guarantee that I can get back to Kansas if I need to... php.ini-dist is supposed to be the same as the Internal Defaults... If it ain't , file a bug report. :-) [I'm pretty sure it's correct.] > Obviously, it's not the setting for sendmail I'm concerned about - its the rest > of the the ini file. Or should I just delete all the other stuff and just add > only the directives I need for sendmail, and rely on defaults? Or does php > abandon these mysterious default values if it finds a php.ini file? I think it would only alter the ones it found in your php.ini file, and leave the rest alone. Any other behaviour would require a great deal of programmer effort of dubious value, and obviously demented design. So maybe it does that in Windows somehow. :-) (Just kidding.) -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#6325) next »