Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PHP: mail() not supported in this build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
acidreign
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2002
Posts: 122
Location: Brisbane, Australia

PostPosted: Mon Apr 22, 2002 9:51 pm    Post subject: PHP: mail() not supported in this build Reply with quote

Gday,

Dont know if this is something specific to gentoo, or just my machine, but while attempting to use the mail(); function in php, i get the above error.

After trawling through pages of documentation on the net, i found that this is a compile time option, that detects if you had sendmail installed (in /usr/lib/sendmail, i guess).

Although I didnt, but did have postfix installed. This still didnt fix the problem.

Does anyone else have this situation ? or is it just all in my shoebox.

Thanks
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Mon Apr 22, 2002 11:55 pm    Post subject: Reply with quote

I had this problem before when installing qmail after building apache + php. The solution was to create symlinks from /usr/bin/sendmail and /usr/lib/sendmail to the qmail sendmail emulator. Then I deleted my config.status and recompiled, worked fine.
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
acidreign
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2002
Posts: 122
Location: Brisbane, Australia

PostPosted: Tue Apr 23, 2002 9:46 pm    Post subject: Working Reply with quote

Thanks,

This has solved the problem.
Back to top
View user's profile Send private message
msroest
n00b
n00b


Joined: 26 Apr 2002
Posts: 27
Location: Calgary

PostPosted: Sat Apr 27, 2002 7:00 am    Post subject: Reply with quote

The other option is to edit php.ini and point it at the qmail sendmail interpretor. php.ini is usually in /usr/local/lib/
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Sat Apr 27, 2002 1:30 pm    Post subject: Reply with quote

msroest wrote:
The other option is to edit php.ini and point it at the qmail sendmail interpretor. php.ini is usually in /usr/local/lib/


No, cause even if it is pointed to the correct place, or you make the symlinks later down the road, your php binary and/or apache modules won't have mail support in them.
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum