* [sisyphus] PHP-4.1.2-alt2: mail() is not supported in this PHP build
@ 2002-03-25 14:50 Sergiy Chekalin
2002-03-27 16:14 ` Евгений Миленченко
2002-03-27 16:52 ` Alexander Bokovoy
0 siblings, 2 replies; 7+ messages in thread
From: Sergiy Chekalin @ 2002-03-25 14:50 UTC (permalink / raw)
To: Sisyphus List
Добрый день.
Cтранная и неприятная ситуация.
После апгрейда до PHP-4.1.2-alt2 не могу вызывать mail() из PHP.
Такое ощущение, что mail() просто нет в /usr/lib/libphp4common.so
из php-common-4.1.2-alt2.
Запостил на bugs.altlinux.ru, но буду рад, если это ложная
тревога.
Подробнее о ситуации.
Имеем mail.php :
<html><title> PHP4 mail() test page </title>
<body> <?php
if (mail("root@myreallydomainname.com", "My Subject", "Line 1\n")) {
echo "Mail send";
} else { echo "Mail don't send"; }
?></body></html>
На выходе:
Warning: mail() is not supported in this PHP build in
/var/www/html/test/mail.php on line 3
Mail don't send
О среде выполнения:
Хост регулярно апдейтится из Сизифа через dist-upgrade.
[root@gate test]# rpm -q altlinux-release
altlinux-release-Sisyphus-alt20020322
[root@gate test]# rpm -qa|grep -i php
php-dba-4.1.2-alt2
mod_php-4.1.2-alt2
php-common-4.1.2-alt2
php-gtk-0.5.0-alt2
asp2php-0.75.24-alt1
php-mhash-4.1.2-alt2
php-readline-4.1.2-alt2
php-sockets-4.1.2-alt2
gtkasp2php-0.75.24-alt1
php-curl-4.1.2-alt2
php-gd-4.1.2-alt2
php-manual-4.1.2-alt1
php-mysql-4.1.2-alt2
php-4.1.2-alt2
php-mnogosearch-4.1.2-alt2
--
csn
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [sisyphus] PHP-4.1.2-alt2: mail() is not supported in this PHP build
2002-03-25 14:50 [sisyphus] PHP-4.1.2-alt2: mail() is not supported in this PHP build Sergiy Chekalin
@ 2002-03-27 16:14 ` Евгений Миленченко
2002-03-27 16:17 ` Nikita Gergel
2002-03-27 16:52 ` Alexander Bokovoy
1 sibling, 1 reply; 7+ messages in thread
From: Евгений Миленченко @ 2002-03-27 16:14 UTC (permalink / raw)
To: sisyphus
Sergiy Chekalin wrote:
> Добрый день.
>
> Cтранная и неприятная ситуация.
>
> После апгрейда до PHP-4.1.2-alt2 не могу вызывать mail() из PHP.
> Такое ощущение, что mail() просто нет в /usr/lib/libphp4common.so
> из php-common-4.1.2-alt2.
>
> Запостил на bugs.altlinux.ru, но буду рад, если это ложная
> тревога.
>
> Подробнее о ситуации.
>
> Имеем mail.php :
>
> <html><title> PHP4 mail() test page </title>
> <body> <?php
> if (mail("root@myreallydomainname.com", "My Subject", "Line 1\n")) {
> echo "Mail send";
> } else { echo "Mail don't send"; }
> ?></body></html>
>
> На выходе:
>
> Warning: mail() is not supported in this PHP build in
> /var/www/html/test/mail.php on line 3
> Mail don't send
>
> О среде выполнения:
>
> Хост регулярно апдейтится из Сизифа через dist-upgrade.
>
> [root@gate test]# rpm -q altlinux-release
> altlinux-release-Sisyphus-alt20020322
>
> [root@gate test]# rpm -qa|grep -i php
> php-dba-4.1.2-alt2
> mod_php-4.1.2-alt2
> php-common-4.1.2-alt2
> php-gtk-0.5.0-alt2
> asp2php-0.75.24-alt1
> php-mhash-4.1.2-alt2
> php-readline-4.1.2-alt2
> php-sockets-4.1.2-alt2
> gtkasp2php-0.75.24-alt1
> php-curl-4.1.2-alt2
> php-gd-4.1.2-alt2
> php-manual-4.1.2-alt1
> php-mysql-4.1.2-alt2
> php-4.1.2-alt2
> php-mnogosearch-4.1.2-alt2
>
>
>
присоединяюсь, весьма плачевная ситуация
--
Евгений Миленченко
azer@azer.net.ru
студия Voodoo.ru
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [sisyphus] PHP-4.1.2-alt2: mail() is not supported in this PHP build
2002-03-27 16:14 ` Евгений Миленченко
@ 2002-03-27 16:17 ` Nikita Gergel
0 siblings, 0 replies; 7+ messages in thread
From: Nikita Gergel @ 2002-03-27 16:17 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: Type: text/plain, Size: 1660 bytes --]
В Срд, 27.03.2002, в 16:14, Евгений Миленченко написал:
> Sergiy Chekalin wrote:
> > Добрый день.
> >
> > Cтранная и неприятная ситуация.
> >
> > После апгрейда до PHP-4.1.2-alt2 не могу вызывать mail() из PHP.
> > Такое ощущение, что mail() просто нет в /usr/lib/libphp4common.so
> > из php-common-4.1.2-alt2.
> >
> > Запостил на bugs.altlinux.ru, но буду рад, если это ложная
> > тревога.
> >
> > Подробнее о ситуации.
> >
> > Имеем mail.php :
> >
> > <html><title> PHP4 mail() test page </title>
> > <body> <?php
> > if (mail("root@myreallydomainname.com", "My Subject", "Line 1\n")) {
> > echo "Mail send";
> > } else { echo "Mail don't send"; }
> > ?></body></html>
> >
> > На выходе:
> >
> > Warning: mail() is not supported in this PHP build in
> > /var/www/html/test/mail.php on line 3
> > Mail don't send
> >
> > О среде выполнения:
> >
> > Хост регулярно апдейтится из Сизифа через dist-upgrade.
> >
> > [root@gate test]# rpm -q altlinux-release
> > altlinux-release-Sisyphus-alt20020322
> >
> > [root@gate test]# rpm -qa|grep -i php
> > php-dba-4.1.2-alt2
> > mod_php-4.1.2-alt2
> > php-common-4.1.2-alt2
> > php-gtk-0.5.0-alt2
> > asp2php-0.75.24-alt1
> > php-mhash-4.1.2-alt2
> > php-readline-4.1.2-alt2
> > php-sockets-4.1.2-alt2
> > gtkasp2php-0.75.24-alt1
> > php-curl-4.1.2-alt2
> > php-gd-4.1.2-alt2
> > php-manual-4.1.2-alt1
> > php-mysql-4.1.2-alt2
> > php-4.1.2-alt2
> > php-mnogosearch-4.1.2-alt2
> >
> >
> >
>
> присоединяюсь, весьма плачевная ситуация
И я в ваших рядах.
--
Nikita Gergel System Administrator
Moscow, Russia YAUZA-Telecom
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [sisyphus] PHP-4.1.2-alt2: mail() is not supported in this PHP build
2002-03-25 14:50 [sisyphus] PHP-4.1.2-alt2: mail() is not supported in this PHP build Sergiy Chekalin
2002-03-27 16:14 ` Евгений Миленченко
@ 2002-03-27 16:52 ` Alexander Bokovoy
2002-03-27 17:05 ` Dmitry V. Levin
1 sibling, 1 reply; 7+ messages in thread
From: Alexander Bokovoy @ 2002-03-27 16:52 UTC (permalink / raw)
To: sisyphus
On Mon, Mar 25, 2002 at 04:50:14PM +0200, Sergiy Chekalin wrote:
> Добрый день.
>
> Cтранная и неприятная ситуация.
>
> После апгрейда до PHP-4.1.2-alt2 не могу вызывать mail() из PHP.
> Такое ощущение, что mail() просто нет в /usr/lib/libphp4common.so
> из php-common-4.1.2-alt2.
>
> Запостил на bugs.altlinux.ru, но буду рад, если это ложная
> тревога.
Это не ложная тревога. :) Это последствие жестких зависимостей и сборки
пакета в новой сборочной среде. Кто же знал, что PHP интерактивно
разрешает mail только в случае, если находит в системе sendmail. :)
В сборочной среде его, естественно нет, ибо не нужен и автоматически не
ставится в момент сборки.
Исправлено в alt3 (безусловно разрешается сборка mail вне зависимости от
наличия/отсутствия sendmail).
--
/ Alexander Bokovoy
Software architect and analyst // SaM-Solutions Ltd.
---
Per buck you get more computing action with the small computer.
-- R.W. Hamming
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [sisyphus] PHP-4.1.2-alt2: mail() is not supported in this PHP build
2002-03-27 16:52 ` Alexander Bokovoy
@ 2002-03-27 17:05 ` Dmitry V. Levin
2002-03-27 17:18 ` Alexander Bokovoy
0 siblings, 1 reply; 7+ messages in thread
From: Dmitry V. Levin @ 2002-03-27 17:05 UTC (permalink / raw)
To: ALT Linux Sisyphus mailing list
[-- Attachment #1: Type: text/plain, Size: 1060 bytes --]
On Wed, Mar 27, 2002 at 06:52:31PM +0200, Alexander Bokovoy wrote:
> > Cтранная и неприятная ситуация.
> >
> > После апгрейда до PHP-4.1.2-alt2 не могу вызывать mail() из PHP.
> > Такое ощущение, что mail() просто нет в /usr/lib/libphp4common.so
> > из php-common-4.1.2-alt2.
> >
> > Запостил на bugs.altlinux.ru, но буду рад, если это ложная
> > тревога.
> Это не ложная тревога. :) Это последствие жестких зависимостей и сборки
> пакета в новой сборочной среде. Кто же знал, что PHP интерактивно
> разрешает mail только в случае, если находит в системе sendmail. :)
Это очевидно.
В сборочные зависимости некоторых пакетов входит MTA именно по этой (или
похожей) причине.
Regards,
Dmitry
+-------------------------------------------------------------------------+
Dmitry V. Levin mailto://ldv@alt-linux.org
ALT Linux Team http://www.altlinux.com/
Fandra Project http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [sisyphus] PHP-4.1.2-alt2: mail() is not supported in this PHP build
2002-03-27 17:05 ` Dmitry V. Levin
@ 2002-03-27 17:18 ` Alexander Bokovoy
2002-03-27 17:29 ` Dmitry V. Levin
0 siblings, 1 reply; 7+ messages in thread
From: Alexander Bokovoy @ 2002-03-27 17:18 UTC (permalink / raw)
To: sisyphus
On Wed, Mar 27, 2002 at 08:05:06PM +0300, Dmitry V. Levin wrote:
> On Wed, Mar 27, 2002 at 06:52:31PM +0200, Alexander Bokovoy wrote:
> > > Cтранная и неприятная ситуация.
> > >
> > > После апгрейда до PHP-4.1.2-alt2 не могу вызывать mail() из PHP.
> > > Такое ощущение, что mail() просто нет в /usr/lib/libphp4common.so
> > > из php-common-4.1.2-alt2.
> > >
> > > Запостил на bugs.altlinux.ru, но буду рад, если это ложная
> > > тревога.
> > Это не ложная тревога. :) Это последствие жестких зависимостей и сборки
> > пакета в новой сборочной среде. Кто же знал, что PHP интерактивно
> > разрешает mail только в случае, если находит в системе sendmail. :)
>
> Это очевидно.
> В сборочные зависимости некоторых пакетов входит MTA именно по этой (или
> похожей) причине.
В данном конкретном случае это необосновано и потому заменено в нашей
сборке на безусловный
#define HAVE_SENDMAIL 1
Вообще, не вижу никакого смысла тянуть подобные зависимости только по той
причине, что от наличия программы что-то меняется, но для самой сборки она
не требуется вовсе.
--
/ Alexander Bokovoy
Software architect and analyst // SaM-Solutions Ltd.
---
You never learn anything by doing it right.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [sisyphus] PHP-4.1.2-alt2: mail() is not supported in this PHP build
2002-03-27 17:18 ` Alexander Bokovoy
@ 2002-03-27 17:29 ` Dmitry V. Levin
0 siblings, 0 replies; 7+ messages in thread
From: Dmitry V. Levin @ 2002-03-27 17:29 UTC (permalink / raw)
To: ALT Linux Sisyphus mailing list
[-- Attachment #1: Type: text/plain, Size: 1519 bytes --]
On Wed, Mar 27, 2002 at 07:18:15PM +0200, Alexander Bokovoy wrote:
> > > > Cтранная и неприятная ситуация.
> > > >
> > > > После апгрейда до PHP-4.1.2-alt2 не могу вызывать mail() из PHP.
> > > > Такое ощущение, что mail() просто нет в /usr/lib/libphp4common.so
> > > > из php-common-4.1.2-alt2.
> > > >
> > > > Запостил на bugs.altlinux.ru, но буду рад, если это ложная
> > > > тревога.
> > > Это не ложная тревога. :) Это последствие жестких зависимостей и сборки
> > > пакета в новой сборочной среде. Кто же знал, что PHP интерактивно
> > > разрешает mail только в случае, если находит в системе sendmail. :)
> >
> > Это очевидно.
> > В сборочные зависимости некоторых пакетов входит MTA именно по этой (или
> > похожей) причине.
> В данном конкретном случае это необосновано и потому заменено в нашей
> сборке на безусловный
> #define HAVE_SENDMAIL 1
>
> Вообще, не вижу никакого смысла тянуть подобные зависимости только по той
> причине, что от наличия программы что-то меняется, но для самой сборки она
> не требуется вовсе.
Да, иногда для достижения подобного эффекта можно перед %configure указать
export prog_cv_...=1
Regards,
Dmitry
+-------------------------------------------------------------------------+
Dmitry V. Levin mailto://ldv@alt-linux.org
ALT Linux Team http://www.altlinux.com/
Fandra Project http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-03-27 17:29 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-25 14:50 [sisyphus] PHP-4.1.2-alt2: mail() is not supported in this PHP build Sergiy Chekalin
2002-03-27 16:14 ` Евгений Миленченко
2002-03-27 16:17 ` Nikita Gergel
2002-03-27 16:52 ` Alexander Bokovoy
2002-03-27 17:05 ` Dmitry V. Levin
2002-03-27 17:18 ` Alexander Bokovoy
2002-03-27 17:29 ` Dmitry V. Levin
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git