Php does not require sendmail, you can use Qmail, postfix, exim or any other
sendmail compatible mailer. You would then need to change the php.ini to
reflect the location of the sendmail compatible binary (Qmail automaticly
(or should) symlinks /var/qmail/bin/sendmail to /usr/lib/sendmail).

You can also configure PHP to use SMTP as its mailer. Even though the
php.ini file says that is a win32 setting, it does work in Linux.

That said, a look in eclass/php.eclass we find 
 [ -x "/usr/sbin/sendmail" ] || die "You need a virtual/mta that provides
/usr/sbin/sendmail!"

Perhaps the issues are not php related but a problem with the MTA ebuild we
are using.

Creating a the correct symlink should fix the problem

> -----Original Message-----
> From: Paul de Vrieze [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, June 07, 2003 9:55 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [gentoo-user] php 4.3.2 virtual/mta
> 
> 
> On Saturday 07 June 2003 15:24, Mike Arrison wrote:
> > Gentooers,
> >     Anybody else see this recently?
> >
> > !!! ERROR: dev-php/php-4.3.2 failed.
> > !!! Function php_src_compile, Line 211, Exitcode 1
> > !!! You need a virtual/mta that provides /usr/sbin/sendmail
> >
> >     My /var/cache/edb/virtuals contains an mta line as follows:
> >
> > virtual/mta net-mail/nbsmtp net-mail/ssmtp
> >
> >     Don't tell me that php _needs_ sendmail in particular.
> 
> For the mail functionality of php (and many other 
> applications) sendmail is 
> needed indeed. If you don't care about mail capability in php 
> you could use 
> --nodeps to have php build anyway.
> 
> Paul
> 
> ps. Not that dev-php/php is the standalone php interpreter, 
> NOT the apache 
> module
> 
> -- 
> Paul de Vrieze
> Researcher
> Mail: [EMAIL PROTECTED]
> Homepage: http://www.devrieze.net
> 


--
[EMAIL PROTECTED] mailing list

Reply via email to