Re: [PHP] php.ini in php5.2.1




On Dec 28, 2007, at 10:40 PM, Jochem Maas wrote:

jekillen schreef:
Hello;
I have not had the necessity to deal with php.ini files for some time.
Now, because I switch from Sendmail to Postfix on one system I
need to adjust the sendmail path variable.

are you sure you need to change it? doesn't postfix come with some kind of
compatibility wrapper [script] that takes the place of sendmail itself ...
IIRC most MTAs are sendmail compatible in that way.

I cannot find a php.ini file
in the specified location. That is not a problem because I can use
ini_set(). What is puzzling is that my system,
I built and installed from source on a number of different systems and
seem to remember that the process creates a php.ini file. Maybe I have
it wrong but in the past I seem to remember being able to find one to
make sure register variables was set to off. (or maybe I ignored it because
that is the default now). So, is the fact that this file is missing
something
I should be concerned about?

php uses it's defaults if it can't load an .ini file - the only concern
is whether this bothers you.

note that you can also set .ini settings via webserver configurations files
(e.g. in apache's httpd.conf or .htaccess files)


No, it does not bother me accept if I should have had a file created by the install.
I can create on with all the values I want to change, right? I have been looking
at my copy of the manual. Postfix sendmail path is different than default sendmail
path in php (at least on my system) and does not use options to invoke it.
This is to send a confirmation message to an address entered into a registration from.
Thanks for your reply.
Jeff K
.



Relevant Pages

  • Re: sendmail vs. postfix question
    ... > Sendmail is a large, monolithic, complicated program that runs as ... > Sendmail configuration is complicated and arcane -- it is the ... > Postfix has a different architecture, ...
    (FreeBSD-Security)
  • Re: [opensuse] How to monitor Linux systems from a focal/central point (was: ranting and raving abo
    ... I'm perfectly well aware of how to set up Postfix, and, for my sins, ... workstation ran Postfix, exim, sendmail or other such MTA. ... this is solely regarding the case of a minimal install on a resource-limited ... client machine that has absolutely no need for an MTA to be installed. ...
    (SuSE)
  • Re: Large Prod Env Mail Host Was [Re: ClamAV Feedback]
    ... > Postfix is inappropriate for our task as it's not configurable enough ... Milter and LDAP support must be ... I believe you're building sendmail yourself them. ... > users to change their passwords and other things on the LDAP servers. ...
    (Fedora)
  • RE: java on RH AS 3.0?
    ... same program names) and switch between them without uninstalling either. ... Its most common use is to switch between sendmail and postfix, ... is done using a series of 'slave' links which are automtically switched ...
    (RedHat)
  • Re: DistroWatch: A First Look At FreeBSD-7.0
    ... Sendmail is outdated and the config file is ... Postfix in my opinion is the best MTA. ... the config and thus if I can I pick exim because that's what I'm ... base system like FreeBSD's simply does not exist. ...
    (comp.unix.bsd.freebsd.misc)