View previous topic :: View next topic |
Author |
Message |
acidreign Tux's lil' helper
Joined: 21 Apr 2002 Posts: 122 Location: Brisbane, Australia
|
Posted: Mon Apr 22, 2002 9:51 pm Post subject: PHP: mail() not supported in this build |
|
|
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 |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Mon Apr 22, 2002 11:55 pm Post subject: |
|
|
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 |
|
|
acidreign Tux's lil' helper
Joined: 21 Apr 2002 Posts: 122 Location: Brisbane, Australia
|
Posted: Tue Apr 23, 2002 9:46 pm Post subject: Working |
|
|
Thanks,
This has solved the problem. |
|
Back to top |
|
|
msroest n00b
Joined: 26 Apr 2002 Posts: 27 Location: Calgary
|
Posted: Sat Apr 27, 2002 7:00 am Post subject: |
|
|
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 |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Sat Apr 27, 2002 1:30 pm Post subject: |
|
|
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 |
|
|
|