Open GoogleCodeExporter opened 8 years ago
If you executing from the command line, then you should supply the PHP.ini path.
Example:
php -c /path/to/php.ini -f /path/to/mailparser.php
The example executes /path/to/mailparser.php with the configuration in
/path/to/php.ini.
Original comment by buca...@gmail.com
on 2 Oct 2010 at 8:59
thank your for your help.
I'm sorry if my question seems a bit dumb, but the command line you are
referring to is the command line where I write the path to the program I pipe
the e-mail to?
I've tried doing that but id doesn't seems to work . The path I am using now is:
|/usr/bin/php -q /home3/siteName/public_html/si/_mailingList/mail.php
Original comment by miguelhe...@gmail.com
on 3 Oct 2010 at 9:35
Not dumb at all. Yes, in this case it would be where you write the path to the
program to pipe the email to.
You have to find out where your PHP.ini file is, and add that to your command.
eg:
| /usr/bin/php -q -c /path/to/php.ini
/home3/siteName/public_html/si/_mailingList/mail.php
Of course "/path/to/php.ini" is just an example. You have to replace it with
the actual location of php.ini. Without the configuration file, PHP will not
load the mailparse extension.
Original comment by buca...@gmail.com
on 3 Oct 2010 at 7:02
Original issue reported on code.google.com by
miguelhe...@gmail.com
on 2 Oct 2010 at 10:01