Yes, it's the same build. I am running php5 on a debian distribution that has been installed via apt-get. Details: ------ CLI php.ini = /etc/php5/cli/php.ini PHP 5.2.0-8+etch3 (cli) (built: Apr 29 2007 10:42:07) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies ------ ------ APACHE php.ini = = /etc/php5/apache2/php.ini PHP Version 5.2.0-8+etch3 System Linux A011 2.6.21 #1 SMP Fri Apr 27 22:50:50 CEST 2007 i686 Build Date Apr 29 2007 10:24:27 Server API Apache 2.0 Handler Virtual Directory Support disabled Configuration File (php.ini) Path /etc/php5/apache2/php.ini ------ Both are exactly the same, as I copied the CLI version into the Apache Version. Of course I first tested with the original Apache php.ini before overwriting it with the CLI version. Unfortunately error Reporting does not help. I've already tested with E_ALL and also dumping errors/warnings into log files... ---- Andy -----Original Message----- From: Tijnema ! [mailto:tijnema@xxxxxxxxx] Sent: Saturday, May 05, 2007 23:58 To: Andy B. Cc: php-general@xxxxxxxxxxxxx Subject: Re: mail() only working with php-cli Are you sure that the PHP CLI and PHP-module are exactly the same build? And you could try to set error reporting level to E_ALL, maybe there's a warning generated that's hidden now because of a lower reporting level. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php