I receive the following error listed under the "send messages" page of Mass Mailer. I've tried changing permissions to everything imaginable. The exceutable command for php is located in /usr/bin and there's a link to it from /usr/local/bin. The ~/phplist/bin/phplist file is set to 0755 (rwxr-x-r-x) for user root and group apache. I tried it with user apache and that did not work either. The phplist file appears to be looking in /usr/bin and /usr/local/bin.

you do not have the php command line executable in your system path
and it cannot be located in /usr/bin or /usr/local/bin.
Please edit the modules/massmailer/engines/phplist/bin/phplist file to correct this.

I have tried sending a couple of messages and the never were sent (nor did I see any indication of them in my mail log files).

I desperately need this module for my organization, so any help would be greatly appreciated.

Thanks,

Jeremy

Comments

killes@www.drop.org’s picture

please try the cvs version., It works with 4.6

Veggieryan’s picture

sitll broken for me... 4.6.3 with CVS
then clean slate with cs .8.2 rc6
i get
you do not have the php command line executable in your system path
and it cannot be located in /usr/bin or /usr/local/bin.
Please edit the modules/massmailer/engines/phplist/bin/phplist file to correct this.

/massmailer/phplist/bin/phplist is 757

what gives?
thanks,
ryan.

killes@www.drop.org’s picture

Status: Active » Fixed

Well, the problem is that you apparently do not have a php command line interface installed on your host. You could ask your hoster to install it. It might also installed in a non-standard place.

If you can't get or install it, you won't be able to run massmailer, sorry.

luti’s picture

It seems to me Fedora 4 does not have this functionality by default (and, compiling PHP every time a new release is out - what is quite often by Fedora - is more than just annoying, in particular if you're not very much familiar with all this "behind" stuff...). Another fact is massmailer (complete version) works perfectly well without this requirement (tested). So, why do you insist in this, and do not somehow adapt the drupal module?!

killes@www.drop.org’s picture

I bet there is an rpm for Fedora which has the php CLI executable.

I don't think that massmailer works without it. Or did you mean phplist? the 2.9.x version stated that it would not work without it. Some people managed to get is somehow to work with the CGI executable, but since this was unsupported by phplist, I decided to not support this.

luti’s picture

Yes, sorry - I've thought phplist, of course.

What is important to me is that I've managed to create a system which was able to send out messages at the end using phplist administration part, but is has been quite weird mess at the end of experiment (some adapted tables, 2 config files on different locations etc.), so I am not using it at the moment...

If anyone can suggest such an rpm (tested and OK and more or less regularly maintained - to follow updates of PHP itself...), I would be very grateful. But, I am afraid the whole set of PHP packages should in this case be replaced, and I am not happy to do it on a production system (fedora itself can sometimes have issues, not to mention too many 3rd party packages on it...).

Anonymous’s picture

Status: Fixed » Closed (fixed)