console scripts reading php.ini
| From: | annazaraah | Date: | Tue, 19 Mar 2002 15:06:52 +0000 |
| Subject: | console scripts reading php.ini | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-89147@lists.php.net to get a copy of this message | ||
Hi - sorry if i was not clear..
i'm running a mailout script from the console (not via apache). the
problem
is that the mail function is using the default (sendmail MTA). i want the
script to use qmail instead.
I put sendmail_path = /var/qmail/bin/qmail-inject into php.ini but my mail
script is still using sendmail to send.
I was under the impression that scripts run from the console to not read
php.ini - which is what sendmail is still be used. Is there a way that i
can tell my mailout.php script to use qmail instead of sendmail?
Many Thanks!
anna
> ----- Original Message -----
> From: Cirstoiu Aurel Sorin <csorin@interakt.ro>
> To: DigitalKoala <annazaraah@yahoo.com>
> Sent: Monday, March 18, 2002 2:33 PM
> Subject: Re: [PHP] console scripts reading php.ini
>
>
> > What do you really want to do?
> > You want to configure your php for sending mails
> > by editing the php.ini from a script ?
> > Why?You can do that with any text editor.
> > If you don't want that than I'm wrong and you'll
> > have to tell me want do you want more explicit.
> >
> > ----- Original Message -----
> > From: "DigitalKoala" <annazaraah@yahoo.com>
> > To: <php-general@lists.php.net>
> > Sent: Monday, March 18, 2002 2:51 PM
> > Subject: [PHP] console scripts reading php.ini
> >
> >
> > > Hi folks,
> > >
> > > How do i get my script (run from the console and not from the browser)
> to
> > > set sendmail_path = /var/qmail/bin/qmail-inject ?
> > >
> > > Thanks!
> > >
> > > DK
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
>