RE: [PHP] mail() only working with php-cli
| From: | Andy B. | Date: | Sat, 05 May 2007 22:04:55 +0000 |
| Subject: | RE: [PHP] mail() only working with php-cli | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-254475@lists.php.net to get a copy of this message | ||
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@gmail.com]
Sent: Saturday, May 05, 2007 23:58
To: Andy B.
Cc: php-general@lists.php.net
Subject: Re: [PHP] 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