[Mailman-Developers] PHP wrappers?
Tue, 13 Mar 2001 15:02:10 -0500
At 09:49 AM 3/13/01 -0800, Harold Paulson wrote:
>I was trying to wrap several of the Mailman CLI tools (list_lists and such) in a little PHP so I could easily integrate them into a larger web site. Using PHP's System() function and the backtick operator to exec the Mailman tools never seems to result in any output, but no errors either. However, I can drop a script of my own (a little Perl hack or whatever) in the ~mailman/bin directory with the same ownership and permissions, and it seems to exec just fine.
Harold, most of those commands user env to find where python is.
If it's not in your web servers search path, you won't find it.
The scripts you wrote probably spell out the path to perl...