Forums

PHP

This topic is locked

PHPmail extension no workie, after RH 7.2 update

Posted 05 Nov 2002 15:08:21
1
has voted
05 Nov 2002 15:08:21 web warrior posted:
Hello,

WIth lots of pleasure I used to use the PHPmail extension to do lovely "email this" function.

After doing like 48 critical systemupdates (Apache, MySQL etc... ) a few functions don't work anymore.

my Question :

Are there any settings in a LINUX Sendmail config or machine that need to be set? Like outgoing domains for a machine?

My guess is something security related in one of my updates is prevent PHPmail to send emails..

Many thanks Tim anyway for all your scripts and help.

Lars Johansson

Replies

Replied 05 Nov 2002 15:37:36
05 Nov 2002 15:37:36 Tim Green replied:
After the installation of so many updates Lars, it quite literally could be anything. Ensure first of all, though, that your sendmail configuration is correct in your PHP.ini.

Unfortunately without further information on the types of updates you have made, it's impossible to determine where the cause might be if this isn't the case...

All the best

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 05 Nov 2002 17:19:02
05 Nov 2002 17:19:02 web warrior replied:
Thanks Tim,

these are the packages that I ugraded thru the Redhat network :

fetchmail-5.9.0-20.
iptables-1.2.5-3.
kernel-2.4.18-17.7.x.
kernel-smp-2.4.18-17.7.x.
xinetd-2.3.9-0.72.
apache-1.3.22-6.
apache-devel-1.3.22-6.
imap-2001a-1.72.0.
mod_ssl-2.8.5-6.
php-4.1.2-7.2.4.
php-imap-4.1.2-7.2.4.
php-ldap-4.1.2-7.2.4.
php-mysql-4.1.2-7.2.4.
squid-2.4.STABLE6-6.7.3.

besides these there were lots of updates which could take my quite some time, and space, to list them all in here. Hopefully from the list above you could point out where to look.

The machine is Redhat 7.2
Apache 1.3.22-6
php-4.1.2-7.2.4.
dual P lll 1,2ghz
1500 MB SDRAM

Thankz,

Lars Johansson

Replied 08 Nov 2002 12:11:16
08 Nov 2002 12:11:16 Tim Green replied:
As you've upgraded your PHP Version I would seriously check that everything is configured correctly.

One point to note, is that the PHP Mail behavior will only work with Register-Globals = on, which could be why no mail is being sent...



Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 10 Nov 2002 11:21:01
10 Nov 2002 11:21:01 web warrior replied:
Hello Tim,

Well I checked the globals, they were "on". Than I checked the path to sendmail which was empty. I tried several like :

/usr/sbin sendmail -t -i
sendmail -t -i

But I can't seem to get it to work!
Is the sendmail path the only setting which is required? BTW sendmail IS working and sending out emails, just not from PHP <img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle>

The thing is, in my project the users get their new account password by email, using your PHPmail. But I can't test it...

Any ideas..?
Are there other ways maybe to send of a mail?

grt
Lars Johansson

Reply to this topic